From 67cb085bf4def34a1727e2a3d807f9198eab327a Mon Sep 17 00:00:00 2001 From: Dominik Porada Date: Tue, 14 Aug 2012 21:15:29 +0200 Subject: .aliases: Add `badge` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This rings the terminal bell, and — when using Terminal.app — puts a badge on its Dock icon. Screenshot: http://i.imgur.com/OtYdu.png --- .aliases | 4 ++++ 1 file changed, 4 insertions(+) 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'" -- cgit v1.2.3