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
Ohmyzsh
Commits
adafe271
"plugins/vscode:/vscode.git/clone" did not exist on "7f6e6cf346268a6d2cdf6fe167a60827aab53f0b"
Commit
adafe271
authored
Nov 06, 2014
by
Tim O'Brien
Browse files
add cygwin windows support with notifu, add to readme
parent
0b0cc2cd
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/bgnotify/README.md
View file @
adafe271
...
...
@@ -13,6 +13,7 @@ Just add bgnotify to your plugins list in your `.zshrc`
-
On OS X you'll need
[
terminal-notifer
](
https://github.com/alloy/terminal-notifier
)
*
`brew install terminal-notifier`
(or
`gem install terminal-notifier`
)
-
On ubuntu you're already all set!
-
On windows you can use
[
notifu
](
http://www.paralint.com/projects/notifu/
)
or the Cygwin Ports libnotify package
## Configuration
...
...
@@ -36,4 +37,3 @@ function bgnotify_formatted {
plugins
=(
git bgnotify
)
## add to plugins list
source
$ZSH
/oh-my-zsh.sh
## existing source call
~~~
plugins/bgnotify/bgnotify.plugin.zsh
View file @
adafe271
...
...
@@ -35,6 +35,8 @@ bgnotify () {
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!
notifu /m
"
$2
"
/p
"
$1
"
fi
}
...
...
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