Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
31e29e1e
Commit
31e29e1e
authored
Feb 23, 2015
by
Robby Russell
Browse files
Merge pull request #3625 from tandrup/master
Fixing spaces in title and message given to bgnotify on OS X
parents
1dcc81cd
7fc47e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/bgnotify/bgnotify.plugin.zsh
View file @
31e29e1e
...
...
@@ -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!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment