Add growl command for iTerm/iTerm2

This commit is contained in:
gwjo 2011-04-17 18:03:08 -04:00
commit 27cee97228

View file

@ -55,3 +55,12 @@ end do_submenu
do_submenu("iTerm", "Shell", "New Tab")
EOF
}
# Send a notification to growl from iTerm or iterm2
#
# usage: growl "Notification Text"
#
# You can use \n and \t to add newlines and tabs
# respectively. Or add \a to make it beep
growl() { print -n '\e]9;'${@}'\007' }