1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

Merge pull request #3625 from tandrup/master

Fixing spaces in title and message given to bgnotify on OS X
This commit is contained in:
Robby Russell 2015-02-23 07:30:13 -08:00
commit 31e29e1efb

View file

@ -34,7 +34,7 @@ bgnotify () {
if hash notify-send 2>/dev/null; then #ubuntu!
notify-send $1 $2
elif hash terminal-notifier 2>/dev/null; then #osx
terminal-notifier -message $2 -title $1
terminal-notifier -message "$2" -title "$1"
elif hash growlnotify 2>/dev/null; then #osx growl
growlnotify -m $1 $2
elif hash notifu 2>/dev/null; then #cygwyn support!