Skip to content

Instantly share code, notes, and snippets.

@geta6
Created October 19, 2011 01:44
Show Gist options
  • Save geta6/1297286 to your computer and use it in GitHub Desktop.
Save geta6/1297286 to your computer and use it in GitHub Desktop.
Notify command done with Growl.
#
# 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