diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-18 11:21:57 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-18 11:21:57 +0000 |
commit | 9537a79fbf3853a34e3117722e2c107bf60e4496 (patch) | |
tree | b800e659deb8c98f8eebb1d84fedcf58b902b436 | |
parent | 4ae72f2255de439682444d2e0d33eefa3f2796de (diff) | |
download | zsh-9537a79fbf3853a34e3117722e2c107bf60e4496.tar.gz zsh-9537a79fbf3853a34e3117722e2c107bf60e4496.tar.xz zsh-9537a79fbf3853a34e3117722e2c107bf60e4496.zip |
Arkadiusz Miskiewicz <arekm@maven.pl>: 26573:
force compdump overwrite
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Completion/compdump | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index ebacb2f26..62f3a3160 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-18 Peter Stephenson <pws@csr.com> + + * Arkadiusz Miskiewicz <arekm@maven.pl>: 26573: + Functions/Completion/compdump: force compdump to overwrite + dump file if mv is a bit dubious. + 2009-02-14 Peter Stephenson <p.w.stephenson@ntlworld.com> * Danek Duvall: 26571: Src/Zle/complete.mdd, @@ -11188,5 +11194,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4567 $ +* $Revision: 1.4568 $ ***************************************************** diff --git a/Completion/compdump b/Completion/compdump index 03b929fc3..068383c22 100644 --- a/Completion/compdump +++ b/Completion/compdump @@ -132,7 +132,7 @@ print >> $_d_file print "typeset -gUa _comp_assocs" >> $_d_file print "_comp_assocs=( ${(qq)_comp_assocs} )" >> $_d_file -mv $_d_file ${_d_file%.$HOST.$$} +mv -f $_d_file ${_d_file%.$HOST.$$} unfunction compdump autoload -Uz compdump |