summaryrefslogtreecommitdiff
path: root/.zsh_functions/alert
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-12-11 09:53:15 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-12-11 09:53:15 +0100
commitbc961c97505ae4e181d7499b6db212f563f8b036 (patch)
tree020e73b43ed9ade8c365cbf09c01bbd9032cd7d2 /.zsh_functions/alert
parent463a12f5f35ff8c2d89eb4370569bd7323abd16b (diff)
feat: move aliases to functions, because they are often less troublesome
Diffstat (limited to '.zsh_functions/alert')
-rw-r--r--.zsh_functions/alert1
1 files changed, 1 insertions, 0 deletions
diff --git a/.zsh_functions/alert b/.zsh_functions/alert
new file mode 100644
index 0000000..1f3c065
--- /dev/null
+++ b/.zsh_functions/alert
@@ -0,0 +1 @@
+notify-send --urgency=low -i ${(%):-%(?.terminal.error)} ${history[$HISTCMD]%[;&|][[:space:]]##alert}