1
0
Fork 0

Added aliases for `ls`-ing hidden files only.

[ticket: X]
pull/666/head
Chauncey Garrett 11 years ago
parent 2bd20aa367
commit 91bc945510

@ -91,17 +91,19 @@ else
fi fi
fi fi
alias l='ls -1A' # Lists in one column, hidden files. alias lsd='ls -A | egrep "^\."' # Lists hidden files only.
alias ll='ls -lh' # Lists human readable sizes. alias l='ls -1A' # Lists in one column, hidden files.
alias lr='ll -R' # Lists human readable sizes, recursively. alias ll='ls -lh' # Lists human readable sizes.
alias la='ll -A' # Lists human readable sizes, hidden files. alias lr='ll -R' # Lists human readable sizes, recursively.
alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager. alias la='ll -A' # Lists human readable sizes, hidden files.
alias lx='ll -XB' # Lists sorted by extension (GNU only). alias lld='la | egrep "^\."' # Lists human readable sizes, hidden files only.
alias lk='ll -Sr' # Lists sorted by size, largest last. alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager.
alias lt='ll -tr' # Lists sorted by date, most recent last. alias lx='ll -XB' # Lists sorted by extension (GNU only).
alias lc='lt -c' # Lists sorted by date, most recent last, shows change time. alias lk='ll -Sr' # Lists sorted by size, largest last.
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time. alias lt='ll -tr' # Lists sorted by date, most recent last.
alias sl='ls' # I often screw this up. alias lc='lt -c' # Lists sorted by date, most recent last, shows change time.
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
alias sl='ls' # I often screw this up.
# Mac OS X Everywhere # Mac OS X Everywhere
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then

Loading…
Cancel
Save