1
0
Fork 0

Provide option to list directory contents after changing directory

pull/328/head
Paul Gideon Dann 12 years ago
parent 13b501adaf
commit 81fce1cfc1

@ -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'

@ -44,6 +44,13 @@ zstyle ':prezto:module:editor' keymap 'emacs'
# Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes'
#
# Utility
#
# List directory contents after changing directory
#zstyle ':prezto:module:utility' ls-after-cd 'yes'
#
# Git
#

Loading…
Cancel
Save