1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 10:18:00 +00:00

Simplify ls aliases

This commit is contained in:
Sorin Ionescu 2012-03-13 19:05:10 -04:00
parent ae5aa85967
commit a6fb92abc9

View File

@ -30,16 +30,16 @@ 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