Created
October 19, 2011 01:44
-
-
Save geta6/1297286 to your computer and use it in GitHub Desktop.
Notify command done with Growl.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ex. tellme make install | |
# | |
function tellme() { | |
if [ `which growlnotify` ]; then | |
local str | |
if [ $# != 0 ]; then | |
for i in $*; do | |
str="$str $i" | |
done | |
fi | |
eval $str ; growlnotify -n "$str" -m "${str}, done." | |
else | |
echo 'Require growlnotify' | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment