From 126ffd4155f5f9f5d7f22e6faa3c7c3d1aba5c8b Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Thu, 19 Sep 2019 16:36:55 +0200 Subject: [PATCH] alias to close a terminal with `:q` --- dot_zsh_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_zsh_aliases b/dot_zsh_aliases index db796df..a7705f6 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -70,7 +70,6 @@ alias ip='echo $(curl ident.me 2>/dev/null)' alias ipinfo='curl "ipinfo.io/"$(ip)' # Misc - alias h='cd $HOME' alias diff='colordiff' alias cp='cp -i' # confirmation before overwrite # @@ -101,6 +100,7 @@ alias lune='moon' alias help='tldr' alias systeminfo='neofetch' alias monitoring='glances' +alias ':q'='exit' # Show/hide hidden files in Finder alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"