X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Faliases;h=3e03942a6e63563e938a87c1a18980a82de3c2b6;hb=ef21c744d20a11bae968699ed76d66f44b4290c9;hp=cb2af4b8c024a55b7fc35c63de2588d07fb827db;hpb=0b47efd8a633ce89b988f5cd39410b8cfe3c37ae;p=config%2Fdotfiles.git diff --git a/shell/aliases b/shell/aliases index cb2af4b..3e03942 100644 --- a/shell/aliases +++ b/shell/aliases @@ -61,12 +61,22 @@ unset ls_color la() { ls -a $* } -# Helper function to list all files in list format with access rights, etc. +# Helper function to list the files in list format with access rights, etc. ll() { + ls -l $* +} +# Helper function to list all files in list format with access rights, etc. +lal() { la -l $* } +# Make going up directories simple. +alias ..='cd ..' +alias ...='cd ../..' +alias ....='cd ../../..' +alias .....='cd ../../../..' + # I sometimes confuse editor and shell, print a warning to prevent I exit the # shell. alias :q='echo "This is not Vim!" >&2'