Create a gist now

Instantly share code, notes, and snippets.

Embed
gwd()
{
$*
growlnotify "${1} is done" -m '' -s
}
bwd()
{
$*
printf \\a
}
nwd()
{
$*
terminal-notifier -message "\`${1}\` is done" -activate com.apple.Terminal -sender com.apple.Terminal
}
@incanus

This comment has been minimized.

Show comment
Hide comment
@incanus

incanus Oct 25, 2013

Use this like so:

nwd <some long-running shell task>

Then you get a Notification Center alert when it completes. If you click on it, Terminal activates.

Owner

incanus commented Oct 25, 2013

Use this like so:

nwd <some long-running shell task>

Then you get a Notification Center alert when it completes. If you click on it, Terminal activates.

@incanus

This comment has been minimized.

Show comment
Hide comment
@incanus

incanus Nov 4, 2013

Growl when done, beep when done, and notify when done.

Owner

incanus commented Nov 4, 2013

Growl when done, beep when done, and notify when done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment