aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorDominik Porada <porada@mailinator.com>2012-08-14 21:15:29 +0200
committerMathias Bynens <mathias@qiwi.be>2012-08-15 09:32:13 +0200
commit67cb085bf4def34a1727e2a3d807f9198eab327a (patch)
tree616a13cd77f05fd6d9ab63ac953df3fd9613b210 /.aliases
parentda728fc40bda28de280710c388b1e86bbb881271 (diff)
downloaddotfiles-67cb085bf4def34a1727e2a3d807f9198eab327a.tar.gz
dotfiles-67cb085bf4def34a1727e2a3d807f9198eab327a.tar.bz2
dotfiles-67cb085bf4def34a1727e2a3d807f9198eab327a.zip
.aliases: Add `badge`
This rings the terminal bell, and — when using Terminal.app — puts a badge on its Dock icon. Screenshot: http://i.imgur.com/OtYdu.png
Diffstat (limited to '.aliases')
-rw-r--r--.aliases4
1 files changed, 4 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index af31396..93be396 100644
--- a/.aliases
+++ b/.aliases
@@ -116,6 +116,10 @@ alias plistbuddy="/usr/libexec/PlistBuddy"
# Launch iOS Simulator
alias ios="open -a /Applications/Xcode.app/Contents/Applications/iPhone\ Simulator.app"
+# Ring the terminal bell, and put a badge on Terminal.app’s Dock icon
+# (useful when executing time-consuming commands)
+alias badge="tput bel"
+
# One of @janmoesen’s ProTip™s
for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do
alias "$method"="lwp-request -m '$method'"