1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Update bgnotify.plugin.zsh

Fixed error with spaces in commands
This commit is contained in:
Paul 2015-06-09 07:35:38 +03:00 committed by ncanceill
parent 980528f9fa
commit 8791d7e09e

View file

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