From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: compinit -D
Date: 04 Jul 1999 23:49:49 +0900 [thread overview]
Message-ID: <rsq7logsc4y.fsf@crane.jaist.ac.jp> (raw)
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
reply other threads:[~1999-07-04 14:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsq7logsc4y.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).