nixos-config/dotfiles/.shellrc
2024-04-27 13:56:15 +02:00

11 lines
354 B
Plaintext

export XDG_DATA_HOME="$HOME/.local/share"
if [[ -n $SSH_CONNECTION ]] ; then
curl \
-H "Title: New SSH session" \
-H "Priority: urgent" \
-H "Tags: urgent" \
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
ntfy.sh/tasiaiso_alerts &> /dev/null # Please don't make me learn how to manage secrets
fi