Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: compinit -D
- X-seq: zsh-workers 6968
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: compinit -D
- Date: 04 Jul 1999 23:49:49 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Z:akr@is27e1u11% zsh -f
is27e1u11% cd
is27e1u11% ls -l .zcompdump
.zcompdump: No such file or directory
is27e1u11% autoload -U compinit
is27e1u11% compinit -D
is27e1u11% ls -l .zcompdump
-rw-r--r-- 1 akr is 3968 Jul 4 23:42 .zcompdump
is27e1u11% echo $ZSH_VERSION
3.1.5-pws-25
is27e1u11%
compinit -D does not works as above.
--- Completion/Core/compinit- Sat Jul 3 20:04:47 1999
+++ Completion/Core/compinit Sun Jul 4 23:47:13 1999
@@ -49,7 +49,7 @@
typeset _i_dumpfile _i_files _i_line _i_done _i_dir _i_autodump=1
typeset _i_tag _i_file _i_addfiles
-while [[ $# -gt 0 && $1 = -[df] ]]; do
+while [[ $# -gt 0 && $1 = -[dDf] ]]; do
if [[ "$1" = -d ]]; then
_i_autodump=1
shift
@@ -59,6 +59,7 @@
fi
elif [[ "$1" = -D ]]; then
_i_autodump=0
+ shift
elif [[ "$1" = -f ]]; then
# Not used any more; use _compdir
shift
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author