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
commit0522b7c280cb09fb39d6acff7db30b2e5093f354 (patch)
treea4a113233478e63db9b48b97bbf5c6b233da65f5
parente72aacd600a5047fc20403398e8bbf6cc10b38b1 (diff)
downloaddotfiles-0522b7c280cb09fb39d6acff7db30b2e5093f354.tar
dotfiles-0522b7c280cb09fb39d6acff7db30b2e5093f354.tar.zst
dotfiles-0522b7c280cb09fb39d6acff7db30b2e5093f354.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)