mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Fixing spaces in title and message given to bgnotify on OS X
This commit is contained in:
parent
677acc3a8c
commit
7fc47e7ebc
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ bgnotify () {
|
||||||
if hash notify-send 2>/dev/null; then #ubuntu!
|
if hash notify-send 2>/dev/null; then #ubuntu!
|
||||||
notify-send $1 $2
|
notify-send $1 $2
|
||||||
elif hash terminal-notifier 2>/dev/null; then #osx
|
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
|
elif hash growlnotify 2>/dev/null; then #osx growl
|
||||||
growlnotify -m $1 $2
|
growlnotify -m $1 $2
|
||||||
elif hash notifu 2>/dev/null; then #cygwyn support!
|
elif hash notifu 2>/dev/null; then #cygwyn support!
|
||||||
|
|
Loading…
Reference in a new issue