X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/7cdd43f4d8d3f981a278189f059f764d0529e085..844158c94b06a685d53019b22dc3fde15a598df9:/.zsh/zshrc/31_cd_bugfix2?ds=sidebyside diff --git a/.zsh/zshrc/31_cd_bugfix2 b/.zsh/zshrc/31_cd_bugfix2 index f551907..43fb5dd 100644 --- a/.zsh/zshrc/31_cd_bugfix2 +++ b/.zsh/zshrc/31_cd_bugfix2 @@ -1,3 +1,3 @@ # fix until #480889 is fixed -cd () { builtin cd $* && ll } +cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRST }