[Lunar-commits] <moonbase> bash: improved the bash-aliases-base.rc
Christian Krause
wookietreiber at lunar-linux.org
Wed May 11 23:42:54 CEST 2011
commit d9e7bba6f3b87d232e2074e41176fb1934fb18b3
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date: Wed May 11 23:42:54 2011 +0200
bash: improved the bash-aliases-base.rc
---
shells/bash/profile.d/bash-aliases-base.rc | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/shells/bash/profile.d/bash-aliases-base.rc b/shells/bash/profile.d/bash-aliases-base.rc
index 01e1972..ba98be3 100644
--- a/shells/bash/profile.d/bash-aliases-base.rc
+++ b/shells/bash/profile.d/bash-aliases-base.rc
@@ -1,5 +1,16 @@
-alias ls='ls --color=auto $LS_OPTIONS'
+# provides useful aliases
+
+# cd aliases
alias 'cd..'='cd ..'
alias '..'='cd ..'
alias '...'='cd ../..'
alias '~'='cd'
+
+# ls aliases
+alias ls='ls --color=auto $LS_OPTIONS'
+alias ll='ls -lh'
+alias la='ll -a'
+alias lr='ll -R --group-directories-first'
+
+# grep aliases
+alias grep='grep --color=auto'
More information about the Lunar-commits
mailing list