summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-15 23:00:19 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-15 23:00:19 +0200
commita1de298bdbde25a9b270ade61419d06eb14050b2 (patch)
tree2ba4303b2a33fb10ec727d8a57d459df45246cac
parentbc5bd149d964cee2db78d87daea59e05563bb08d (diff)
ALIAS x for exit
-rw-r--r--bash/.bash_aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index db29e58..f4ab00c 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -7,6 +7,9 @@ alias r='ssh -l root'
# fuck!
alias fuck='COMMAND=$(history -p \!\!); echo sudo $COMMAND; sudo $COMMAND'
+# Tired of writing exit
+alias x='exit'
+
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"