nixos-config/dotfiles/.zshrc

12 lines
291 B
Bash
Raw Normal View History

2024-04-23 17:29:48 +02:00
export XDG_DATA_HOME="$HOME/.local/share"
if [[ -n $SSH_CONNECTION ]] ; then
curl \
-H "Title: Test" \
-H "Priority: high" \
2024-04-23 17:37:56 +02:00
-H "Tags: urgent" \
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
2024-04-23 17:29:48 +02:00
ntfy.sh/tasiaiso_alerts &> /dev/null
fi