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