summaryrefslogtreecommitdiff
path: root/.zsh_functions
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
parent463a12f5f35ff8c2d89eb4370569bd7323abd16b (diff)
feat: move aliases to functions, because they are often less troublesome
Diffstat (limited to '.zsh_functions')
-rw-r--r--.zsh_functions/alert1
-rw-r--r--.zsh_functions/diary2
-rw-r--r--.zsh_functions/dquilt1
-rw-r--r--.zsh_functions/dramalog1
-rw-r--r--.zsh_functions/dreamdiary1
-rw-r--r--.zsh_functions/hnjs_scan_a41
-rw-r--r--.zsh_functions/jdiary2
-rw-r--r--.zsh_functions/positivediary1
-rw-r--r--.zsh_functions/tiga1
9 files changed, 11 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}
diff --git a/.zsh_functions/diary b/.zsh_functions/diary
new file mode 100644
index 0000000..fcd41ed
--- /dev/null
+++ b/.zsh_functions/diary
@@ -0,0 +1,2 @@
+vim ~/Data/personal/henk/workinprogress/Dokumente/diary/$(date +%F).otl
+
diff --git a/.zsh_functions/dquilt b/.zsh_functions/dquilt
new file mode 100644
index 0000000..af53b6b
--- /dev/null
+++ b/.zsh_functions/dquilt
@@ -0,0 +1 @@
+quilt --quiltrc=${HOME}/.quiltrc-dpkg
diff --git a/.zsh_functions/dramalog b/.zsh_functions/dramalog
new file mode 100644
index 0000000..e5e0362
--- /dev/null
+++ b/.zsh_functions/dramalog
@@ -0,0 +1 @@
+vim Data/personal/henk/workinprogress/Dokumente/Beziehung/dramalog.otl
diff --git a/.zsh_functions/dreamdiary b/.zsh_functions/dreamdiary
new file mode 100644
index 0000000..c812f6c
--- /dev/null
+++ b/.zsh_functions/dreamdiary
@@ -0,0 +1 @@
+vim ~/Data/personal/henk/workinprogress/Dokumente/diary/dreams_$(date +%F).otl
diff --git a/.zsh_functions/hnjs_scan_a4 b/.zsh_functions/hnjs_scan_a4
new file mode 100644
index 0000000..df19ba7
--- /dev/null
+++ b/.zsh_functions/hnjs_scan_a4
@@ -0,0 +1 @@
+scanimage --format=png --resolution=150 -x 208.1 -y 295.5 --progress $@
diff --git a/.zsh_functions/jdiary b/.zsh_functions/jdiary
new file mode 100644
index 0000000..e02ea85
--- /dev/null
+++ b/.zsh_functions/jdiary
@@ -0,0 +1,2 @@
+vim ~/Data/personal/henk/workinprogress/Dokumente/jdiary/"$(date +%F ${*:+--date="$*"})".otl
+
diff --git a/.zsh_functions/positivediary b/.zsh_functions/positivediary
new file mode 100644
index 0000000..edf8783
--- /dev/null
+++ b/.zsh_functions/positivediary
@@ -0,0 +1 @@
+vim ~/Data/personal/henk/workinprogress/Dokumente/diary/positive_$(date +%F).otl
diff --git a/.zsh_functions/tiga b/.zsh_functions/tiga
new file mode 100644
index 0000000..1a504d8
--- /dev/null
+++ b/.zsh_functions/tiga
@@ -0,0 +1 @@
+tig --all