From: martin f. krafft Date: Mon, 13 Oct 2008 09:55:36 +0000 (+0200) Subject: generic aliases bugfix by sourcing them again X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/6b65253a03d481bd00ad849875cced9e8d854f2f?hp=3fd2b57032d16352728d2b87b59af568da40df9d generic aliases bugfix by sourcing them again --- 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 }