Commit 8791d7e0 authored by Paul's avatar Paul Committed by ncanceill
Browse files

Update bgnotify.plugin.zsh

Fixed error with spaces in commands
parent 980528f9
...@@ -33,9 +33,9 @@ bgnotify () { ...@@ -33,9 +33,9 @@ bgnotify () {
if hash terminal-notifier 2>/dev/null; then #osx if 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 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! 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! elif hash notifu 2>/dev/null; then #cygwyn support!
notifu /m "$2" /p "$1" notifu /m "$2" /p "$1"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment