Integrate zsh-notify
This commit is contained in:
parent
4f19700919
commit
6b2772e465
4 changed files with 30 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -19,3 +19,6 @@
|
|||
[submodule "modules/autosuggestions/external"]
|
||||
path = modules/autosuggestions/external
|
||||
url = https://github.com/tarruda/zsh-autosuggestions
|
||||
[submodule "modules/zsh-notify/external"]
|
||||
path = modules/zsh-notify/external
|
||||
url = https://github.com/marzocchi/zsh-notify.git
|
||||
|
|
21
modules/zsh-notify/README.md
Normal file
21
modules/zsh-notify/README.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
zsh-notify
|
||||
====
|
||||
|
||||
[zsh-notidy][1] is a plugin for the Z shell that posts desktop notifications when a command terminates with a non-zero exit status or when it took more than 30 seconds to complete, if the terminal application is in the background (or the terminal tab is inactive).
|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
When using the default notifier notifications are posted using [terminal-notifier.app][2] on Mac OS X and notify-send on other systems.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][3].*
|
||||
|
||||
- [Rui Coelho](https://github.com/rjcoelho)
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: https://github.com/marzocchi/zsh-notify
|
||||
[2]: https://github.com/alloy/terminal-notifier
|
||||
[3]: https://github.com/sorin-ionescu/prezto/issues
|
1
modules/zsh-notify/external
Submodule
1
modules/zsh-notify/external
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1b0ba73aa472672239f431245974ea408ed07921
|
5
modules/zsh-notify/init.zsh
Normal file
5
modules/zsh-notify/init.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# Load zsh-notify Module
|
||||
#
|
||||
source "${0:h}/external/notify.plugin.zsh"
|
||||
|
Loading…
Add table
Reference in a new issue