X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/769b4c074545f45bd87f82298f93272c087199fd..0ac781d56a5e665fb41e7193ba66ee8a74959491:/.zsh/zshrc/31_cd_bugfix2 diff --git a/.zsh/zshrc/31_cd_bugfix2 b/.zsh/zshrc/31_cd_bugfix2 index b1aae20..70da308 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 "$@" && lrt } +cd () { __CHPWD_RUN_FIRST=lrt && builtin cd "$@" && unset __CHPWD_RUN_FIRST }