# # Print directory context on chdir # # Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # Source repository: http://git.madduck.net/v/etc/zsh.git # autoload -U add-zsh-hook function _ls_on_chpwd() { emulate -L zsh ls -AF --group-directories-first } add-zsh-hook chpwd _ls_on_chpwd # vim:ft=zsh