zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: compinit -D
@ 1999-07-04 14:49 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 1999-07-04 14:49 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-04 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-04 14:49 PATCH: compinit -D Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).