summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-09-13 08:26:24 +0200
committerxengineering <me@xengineering.eu>2022-09-13 08:26:24 +0200
commit79f01ebd3c65698ead258e1ee5b8ef1030b7b8f1 (patch)
treea4a113233478e63db9b48b97bbf5c6b233da65f5
parentc078ad5c35c35a4ee6431cc01e0adca134b3e535 (diff)
downloaddotfiles-79f01ebd3c65698ead258e1ee5b8ef1030b7b8f1.tar
dotfiles-79f01ebd3c65698ead258e1ee5b8ef1030b7b8f1.tar.zst
dotfiles-79f01ebd3c65698ead258e1ee5b8ef1030b7b8f1.zip
Add t alias for todo.txt CLI tool
-rw-r--r--.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index dbb36d5..ce9400f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -26,6 +26,14 @@ alias music="cd ~/Musik && ranger || echo '~/Musik does not exist'"
alias bt="bluetoothctl"
alias ikhal="ikhal; clear"
alias news="newsboat"
+if command -v apt > /dev/null # ugly hack to detect Debian
+then
+ alias t="todo-txt"
+fi
+if command -v pacman > /dev/null # ugly hack to detect Arch Linux
+then
+ alias t="todo.sh"
+fi
# extend PATH by custom scripts (location based on XDG)