From ae8ac10b0b214f7bc50554114f9e2ff886e96fdf Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 17 Mar 2019 22:31:24 +0100 Subject: [PATCH] add q and wq alias for shell --- .config/shell/rc.d/base-aliases.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/shell/rc.d/base-aliases.sh b/.config/shell/rc.d/base-aliases.sh index abc4750..56b24cf 100644 --- a/.config/shell/rc.d/base-aliases.sh +++ b/.config/shell/rc.d/base-aliases.sh @@ -25,3 +25,8 @@ alias v="vim" # short, consise, clear my screen alias cl="clear" + +# let me exit out of the shell same way as vim +# TODO integrate session management with w? +alias "q"="exit" +alias "wq"="exit"