From: Alexandre Duret-Lutz <alexandre.duret@greyc.ismra.fr>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: _argument, a repeated local, again
Date: 22 Nov 1999 17:59:07 +0000 [thread overview]
Message-ID: <7dpux2wgpg.fsf@venus.l2i> (raw)
In-Reply-To: Sven Wischnowsky's message of "Mon, 22 Nov 1999 10:39:35 +0100 (MET)"
~ % rlogin foo<TAB>
~ % rlogin fooprefix=ant
suffix=''
That was a local left in a while loop.
--- _arguments.old Mon Nov 22 17:49:39 1999
+++ _arguments Mon Nov 22 17:52:13 1999
@@ -166,7 +166,7 @@
if comparguments -i "$autod" "$@"; then
local nm="$compstate[nmatches]" action noargs aret expl local
local next direct odirect equal single match matched ws tmp1 tmp2
- local opts subc
+ local opts subc prefix suffix
if comparguments -D descr action; then
comparguments -C subc
@@ -288,8 +288,6 @@
fi
if [[ -n "$opts" && -z "$aret$matched" &&
nm -eq compstate[nmatches] ]]; then
-
- local prefix suffix
prefix="${PREFIX#*\=}"
suffix="$SUFFIX"
--
Alexandre Duret-Lutz
next reply other threads:[~1999-11-22 16:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-22 17:59 Alexandre Duret-Lutz [this message]
1999-11-22 18:04 ` Bart Schaefer
1999-11-22 19:35 ` Alexandre Duret-Lutz
1999-11-22 19:24 ` Bart Schaefer
1999-11-22 19:34 ` Bart Schaefer
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=7dpux2wgpg.fsf@venus.l2i \
--to=alexandre.duret@greyc.ismra.fr \
--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).