]> git.donarmstrong.com Git - zsh.git/commitdiff
generic aliases bugfix by sourcing them again
authormartin f. krafft <madduck@madduck.net>
Mon, 13 Oct 2008 09:55:36 +0000 (11:55 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 13 Oct 2008 09:55:36 +0000 (11:55 +0200)
.zsh/zshrc/30_aliases_bugfix [new file with mode: 0644]
.zsh/zshrc/31_cd_bugfix1 [deleted file]
.zsh/zshrc/31_cd_bugfix2 [deleted file]

diff --git a/.zsh/zshrc/30_aliases_bugfix b/.zsh/zshrc/30_aliases_bugfix
new file mode 100644 (file)
index 0000000..c106d41
--- /dev/null
@@ -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 (file)
index e6a6e05..0000000
+++ /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 (file)
index 43fb5dd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# fix until #480889 is fixed
-
-cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRST }