7fc47e7ebcff3ec1e01399d32752451f14e3de6a
- Author
- Mads Mætzke Tandrup <mads@maetzke-tandrup.dk>
- Committer
- Mads Mætzke Tandrup <mads@maetzke-tandrup.dk>
- Date
Message
Fixing spaces in title and message given to bgnotify on OS X
Diff
1diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh
2index 259d27424c8e18edef9e98affad2d902f3892851..5ccead3b8fa6ab7fa5dfa18b6784cd4613b0dc52 100755
3--- a/plugins/bgnotify/bgnotify.plugin.zsh
4+++ b/plugins/bgnotify/bgnotify.plugin.zsh
5@@ -34,7 +34,7 @@ bgnotify () {
6 if hash notify-send 2>/dev/null; then #ubuntu!
7 notify-send $1 $2
8 elif hash terminal-notifier 2>/dev/null; then #osx
9- terminal-notifier -message $2 -title $1
10+ terminal-notifier -message "$2" -title "$1"
11 elif hash growlnotify 2>/dev/null; then #osx growl
12 growlnotify -m $1 $2
13 elif hash notifu 2>/dev/null; then #cygwyn support!