]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/31_cd_bugfix2
output lrt on chpwd first
[zsh.git] / .zsh / zshrc / 31_cd_bugfix2
index b1aae20d688a5f19ef00b043d2b33f5e04a81647..70da308d5a757d5e4c6862b86fddfa25c81a3f99 100644 (file)
@@ -1,3 +1,3 @@
 # fix until #480889 is fixed
 
-cd () { builtin cd "$@" && lrt }
+cd () { __CHPWD_RUN_FIRST=lrt && builtin cd "$@" && unset __CHPWD_RUN_FIRST }