summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-02-23 07:30:13 -0800
committerRobby Russell <robby@planetargon.com>2015-02-23 07:30:13 -0800
commit31e29e1efbd81df46d9e6ef03a4e4d3bfaf78007 (patch)
treec5a28db2e0f4315a46aac4d87ab5998a5a948f30 /plugins
parent1dcc81cda092026d29987e08632780fb3f70c8ee (diff)
parent7fc47e7ebcff3ec1e01399d32752451f14e3de6a (diff)
downloadzsh-31e29e1efbd81df46d9e6ef03a4e4d3bfaf78007.tar.gz
zsh-31e29e1efbd81df46d9e6ef03a4e4d3bfaf78007.tar.bz2
zsh-31e29e1efbd81df46d9e6ef03a4e4d3bfaf78007.zip
Merge pull request #3625 from tandrup/master
Fixing spaces in title and message given to bgnotify on OS X
Diffstat (limited to 'plugins')
-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!