From 82f60713d4c82f7a0d3f14b63d3c7d72fb3321e2 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 14 Nov 2021 20:54:54 +0100 Subject: [PATCH] Add vim-like exist aliases --- home/.config/shell/aliases | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/.config/shell/aliases b/home/.config/shell/aliases index da5dbae..7afa8ae 100755 --- a/home/.config/shell/aliases +++ b/home/.config/shell/aliases @@ -220,6 +220,12 @@ alias yta-best='youtube-dl --extract-audio --audio-format best' alias yta-mp3='youtube-dl --extract-audio --audio-format mp3' alias yta-wav='youtube-dl --extract-audio --audio-format wav' +# Terminal vim-like exits, in case I think the terminal is vim +alias :q='exit' +alias :q!='exit' +alias :wq='exit' +alias :wq!='exit' + # Shell aliases alias reload="exec \$SHELL" # Reload the shell (i.e. invoke as a login shell) alias path='echo -e ${PATH//:/\\n}' # Print each PATH entry on a separate line