Simplify ls aliases

main
Sorin Ionescu 13 years ago
parent ae5aa85967
commit a6fb92abc9

@ -30,17 +30,17 @@ else
fi fi
fi fi
alias l='ls -1A' # Show files in one column. alias l='ls -1A' # List in one column.
alias ll='ls -lh' # Show human readable. alias ll='ls -lh' # List human readable sizes.
alias la='ls -lhA' # Show hidden files. alias lr='ll -R' # List recursively.
alias lx='ls -lhXB' # Sort by extension. alias la='ll -A' # List hidden files.
alias lk='ls -lhSr' # Sort by size, biggest last. alias lp='la | "$PAGER"' # List through pager.
alias lc='ls -lhtcr' # Sort by and show change time, most recent last. alias lx='ll -XB' # List sorted by extension.
alias lu='ls -lhtur' # Sort by and show access time, most recent last. alias lk='ll -Sr' # List sorted by size, largest last.
alias lt='ls -lhtr' # Sort by date, most recent last. alias lt='ll -tr' # List sorted by date, most recent last.
alias lm='ls -lha | more' # Pipe through 'more'. alias lc='lt -c' # List sorted by date, most recent last, show change time.
alias lr='ls -lhR' # Recursive ls. alias lu='lt -u' # List sorted by date, most recent last, show access time.
alias sl='ls' # I often screw this up. alias sl='ls' # I often screw this up.
# General # General
alias _='sudo' alias _='sudo'

Loading…
Cancel
Save