|
|
|
@ -101,6 +101,12 @@ alias lc='lt -c' # Lists sorted by date, most recent last, shows change
|
|
|
|
|
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
|
|
|
|
|
alias sl='ls' # I often screw this up.
|
|
|
|
|
|
|
|
|
|
# List directory after cd
|
|
|
|
|
if zstyle -t ':prezto:module:utility' ls-after-cd; then
|
|
|
|
|
function list-directory { ls }
|
|
|
|
|
chpwd_functions=($chpwd_functions list-directory)
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Mac OS X Everywhere
|
|
|
|
|
if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
|
|
alias o='open'
|
|
|
|
|