summaryrefslogtreecommitdiff
path: root/plugins/bgnotify/bgnotify.plugin.zsh
diff options
context:
space:
mode:
authorMads Mætzke Tandrup <mads@maetzke-tandrup.dk>2015-02-22 22:14:37 +0100
committerMads Mætzke Tandrup <mads@maetzke-tandrup.dk>2015-02-22 22:14:37 +0100
commit7fc47e7ebcff3ec1e01399d32752451f14e3de6a (patch)
tree420d4330a3123c40051ff72ea4deec6bdd5c3348 /plugins/bgnotify/bgnotify.plugin.zsh
parent677acc3a8c14887ceb8e9b8584fd59bc9f4af3e0 (diff)
downloadzsh-7fc47e7ebcff3ec1e01399d32752451f14e3de6a.tar.gz
zsh-7fc47e7ebcff3ec1e01399d32752451f14e3de6a.tar.bz2
zsh-7fc47e7ebcff3ec1e01399d32752451f14e3de6a.zip
Fixing spaces in title and message given to bgnotify on OS X
Diffstat (limited to 'plugins/bgnotify/bgnotify.plugin.zsh')
-rwxr-xr-xplugins/bgnotify/bgnotify.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh
index 259d27424..5ccead3b8 100755
--- a/plugins/bgnotify/bgnotify.plugin.zsh
+++ b/plugins/bgnotify/bgnotify.plugin.zsh
@@ -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!