From b794dac34a501fd1281d77b47eac2698a899ff6c Mon Sep 17 00:00:00 2001 From: Knyffen Date: Wed, 12 Oct 2022 16:21:08 +0200 Subject: [PATCH] Non-GNU TODO command rmlint --- .bash_aliases | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index c1b1659..1427514 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -44,6 +44,7 @@ alias yay="nice -n 19 yay --config ~/Nextcloud/configfiles/pacman.conf" alias restartplasma='systemctl --user restart plasma-plasmashell' alias surf="GDK_BACKEND=x11 surf" alias nvim-restore="ls ~/.local/share/nvim/swap/ | xargs basename -s .swp | tr % / | xargs nvim" +alias rmlint="rmlint -o pretty:stdout" # git alias gst="git status" @@ -94,7 +95,12 @@ git() { esac } -alias TODO="ggn 'TODO: jry:?'" +if [ $HOSTNAME = 'gnu' ] && [ $USER = 'jry' ]; then + alias TODO="ggn 'TODO: jry:?'" +fi +if [ $USER = 'knyffen' ]; then + alias TODO="vim ~/Nextcloud/Notes/TODO.md" +fi title() { # set input argument as window title