From 6b65253a03d481bd00ad849875cced9e8d854f2f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 13 Oct 2008 11:55:36 +0200 Subject: [PATCH 1/1] generic aliases bugfix by sourcing them again --- .zsh/zshrc/{31_cd_bugfix1 => 30_aliases_bugfix} | 3 ++- .zsh/zshrc/31_cd_bugfix2 | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) rename .zsh/zshrc/{31_cd_bugfix1 => 30_aliases_bugfix} (55%) delete mode 100644 .zsh/zshrc/31_cd_bugfix2 diff --git a/.zsh/zshrc/31_cd_bugfix1 b/.zsh/zshrc/30_aliases_bugfix similarity index 55% rename from .zsh/zshrc/31_cd_bugfix1 rename to .zsh/zshrc/30_aliases_bugfix index e6a6e05..c106d41 100644 --- a/.zsh/zshrc/31_cd_bugfix1 +++ b/.zsh/zshrc/30_aliases_bugfix @@ -1,4 +1,5 @@ # fix until #480889 is fixed # remove the compiled file before it gets sourced -rm -f $ZDOTDIR/zshrc/31_cd_bugfix2.zwc +rm -f $ZDOTDIR/zshrc/30_aliases.zwc +. $ZDOTDIR/zshrc/30_aliases diff --git a/.zsh/zshrc/31_cd_bugfix2 b/.zsh/zshrc/31_cd_bugfix2 deleted file mode 100644 index 43fb5dd..0000000 --- a/.zsh/zshrc/31_cd_bugfix2 +++ /dev/null @@ -1,3 +0,0 @@ -# fix until #480889 is fixed - -cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRST } -- 2.39.5