diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/bgnotify/README.md | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/bgnotify/README.md')
-rw-r--r-- | zsh/oh-my-zsh/plugins/bgnotify/README.md | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/zsh/oh-my-zsh/plugins/bgnotify/README.md b/zsh/oh-my-zsh/plugins/bgnotify/README.md deleted file mode 100644 index 1d8fac5..0000000 --- a/zsh/oh-my-zsh/plugins/bgnotify/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# bgnotify zsh plugin - -cross-platform background notifications for long running commands! Supports OSX and Ubuntu linux. - -Standalone homepage: [t413/zsh-background-notify](https://github.com/t413/zsh-background-notify) - ----------------------------------- - -## How to use! - -Just add bgnotify to your plugins list in your `.zshrc` - -- On OS X you'll need [terminal-notifier](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](https://www.paralint.com/projects/notifu/) or the Cygwin Ports libnotify package - - -## Screenshots - -**Linux** - - - -**OS X** - - - -**Windows** - - - - -## Configuration - -One can configure a few things: - -- `bgnotify_threshold` sets the notification threshold time (default 6 seconds) -- `function bgnotify_formatted` lets you change the notification - -Use these by adding a function definition before the your call to source. Example: - -~~~ sh -bgnotify_threshold=4 ## set your own notification threshold - -function bgnotify_formatted { - ## $1=exit_status, $2=command, $3=elapsed_time - [ $1 -eq 0 ] && title="Holy Smokes Batman!" || title="Holy Graf Zeppelin!" - bgnotify "$title -- after $3 s" "$2"; -} - -plugins=(git bgnotify) ## add to plugins list -source $ZSH/oh-my-zsh.sh ## existing source call -~~~ |