浏览代码

Merge pull request #3625 from tandrup/master

Fixing spaces in title and message given to bgnotify on OS X
Robby Russell 9 年之前
父节点
当前提交
31e29e1efb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/bgnotify/bgnotify.plugin.zsh

+ 1 - 1
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!