summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index ca3d8e4..13b1078 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -33,6 +33,10 @@ alias m='micro'
# Functions
function tk() { mkdir -p $1; cd $1; }
+function alert() {
+ notify-send --expire-time=30000 $1 $2 && nohup play ~/.local/share/alarm.wav &
+}
+
## Options section
setopt correct # Auto correct mistakes
setopt extendedglob # Extended globbing. Allows using regular expressions with *