From: martin f. krafft <madduck@madduck.net>
Date: Mon, 13 Oct 2008 09:55:36 +0000 (+0200)
Subject: generic aliases bugfix by sourcing them again
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6b65253a03d481bd00ad849875cced9e8d854f2f;p=zsh.git

generic aliases bugfix by sourcing them again
---

diff --git a/.zsh/zshrc/30_aliases_bugfix b/.zsh/zshrc/30_aliases_bugfix
new file mode 100644
index 0000000..c106d41
--- /dev/null
+++ b/.zsh/zshrc/30_aliases_bugfix
@@ -0,0 +1,5 @@
+# fix until #480889 is fixed
+
+# remove the compiled file before it gets sourced
+rm -f $ZDOTDIR/zshrc/30_aliases.zwc
+. $ZDOTDIR/zshrc/30_aliases
diff --git a/.zsh/zshrc/31_cd_bugfix1 b/.zsh/zshrc/31_cd_bugfix1
deleted file mode 100644
index e6a6e05..0000000
--- a/.zsh/zshrc/31_cd_bugfix1
+++ /dev/null
@@ -1,4 +0,0 @@
-# fix until #480889 is fixed
-
-# remove the compiled file before it gets sourced
-rm -f $ZDOTDIR/zshrc/31_cd_bugfix2.zwc
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 }