From 79f01ebd3c65698ead258e1ee5b8ef1030b7b8f1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 13 Sep 2022 08:26:24 +0200 Subject: Add t alias for todo.txt CLI tool --- .bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v1.2.3-70-g09d2