prezto/modules/notify
Alex Reece 36559d9978 Add changes from sorin codereview
-    autoload functions aren't surrounded in an addition function { }
-    export cross platform notify function
-    control notify behavior with zstyles
2013-06-13 16:22:53 -04:00
..
functions Add changes from sorin codereview 2013-06-13 16:22:53 -04:00
init.zsh Add changes from sorin codereview 2013-06-13 16:22:53 -04:00
README.md Add changes from sorin codereview 2013-06-13 16:22:53 -04:00

Last Command

Notifies if the command completes and terminal isn't the foreground window.

Settings

Growl

By default, notify will use the Notification Center on Mac OSX via terminal-notifier and will fall back to Growl if this is not available. To force the use of growl, add the following to zpreztorc.

zstyle ':prezto:module:notify' force-growl 'yes'

Auto-notify if window not focused

This module can automatically notify if a (long running) command completes while the terminal window does not have focus. This will pop up a notification with information about the last command like this:

Last command notification

To enable this feature, add the following to zpreztorc:

zstyle ':prezto:module:notify' auto-notify 'yes'

Authors

The authors of this module should be contacted via the issue tracker.