Skip to content

Instantly share code, notes, and snippets.

@larzconwell
Created January 31, 2013 01:30
Show Gist options
  • Save larzconwell/4679121 to your computer and use it in GitHub Desktop.
Save larzconwell/4679121 to your computer and use it in GitHub Desktop.
ZSH: Call `ls -a` whenever we change directories(includes changing dirs when autocd is set)
function chpwd() {
emulate -L zsh
ls -a
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment