A simple Zsh plugin for sending notifications to other services.
git clone https://github.com/rudeigerc/znotify ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/znotify
In $HOME/.zshrc
:
plugins=(... znotify)
znap source rudeigerc/znotify
source /path/to/znotify.plugin.zsh
$ do something; znotify -s <service>
- Telegram
- LINE
- Slack
- macOS Notification
- Telegram
ZNOTIFY_TELEGRAM_TOKEN
: Authentication token generated by @BotFatherZNOTIFY_TELEGRAM_CHAT_ID
: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
- LINE
ZNOTIFY_LINE_TOKEN
: Authentication token
- Slack
ZNOTIFY_SLACK_TOKEN
: Authentication token bearing required scopesZNOTIFY_SLACK_CHANNEL
: Channel, private group, or IM channel to send message to
MIT