mirror of
https://github.com/zdharma-continuum/zconvey.git
synced 2026-09-10 07:06:21 -04:00
notify: A wrapper for marzocchi/zsh-notify plugin
This commit is contained in:
parent
2f02abe09f
commit
c5f3099cbb
11
cmds/plg-zsh-notify
Executable file
11
cmds/plg-zsh-notify
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# For use with marzocchi/zsh-notify, by setting following zstyle in zshrc:
|
||||
# zstyle ':notify:*' notifier /path/to/zconvey/cmds/plg-zsh-notify
|
||||
|
||||
typeset -g BINDIR=${0:h}
|
||||
|
||||
local tpe="$1"
|
||||
read -t1 -r msg
|
||||
|
||||
$BINDIR/zc-bg-notify -q "$tpe - $msg"
|
||||
Loading…
Reference in a new issue