nixos-config/dotfiles/.bashrc

11 lines
303 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 \
2024-04-24 12:34:43 +02:00
-H "Title: New SSH session" \
-H "Priority: urgent" \
-H "Tags: urgent" \
2024-04-23 17:29:48 +02:00
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
ntfy.sh/tasiaiso_alerts &> /dev/null
fi