aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-10-21 12:41:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-10-21 12:41:57 +1300
commit15a25834a72e92606fa344a0234080de84dcb1dc (patch)
tree2b66919e6ab0f52aab6a517bf6dcb6855c61d3a5 /bash
parentMarkers for lines that continue offscreen (diff)
downloaddotfiles-15a25834a72e92606fa344a0234080de84dcb1dc.tar.gz
dotfiles-15a25834a72e92606fa344a0234080de84dcb1dc.zip
Move bell alias into aliases file
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/aliases.bash3
-rw-r--r--bash/bashrc.d/bell.bash9
2 files changed, 3 insertions, 9 deletions
diff --git a/bash/bashrc.d/aliases.bash b/bash/bashrc.d/aliases.bash
index 5afeb557..375c0eb1 100644
--- a/bash/bashrc.d/aliases.bash
+++ b/bash/bashrc.d/aliases.bash
@@ -1,3 +1,6 @@
+# Print a terminal bell
+alias bell='printf %s '$'\a'
+
# Use a unified format for diff by default
alias diff='diff -u'
diff --git a/bash/bashrc.d/bell.bash b/bash/bashrc.d/bell.bash
deleted file mode 100644
index 29a3fb95..00000000
--- a/bash/bashrc.d/bell.bash
+++ /dev/null
@@ -1,9 +0,0 @@
-# Print a terminal bell; good for the end of long commands to prompt me into
-# looking at the window:
-#
-# $ long-boring-command ; bell
-#
-bell() {
- printf %s $'\a'
-}
-