Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: configuring the new completion system
- X-seq: zsh-workers 11786
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: configuring the new completion system
- Date: Wed, 7 Jun 2000 05:41:49 +0000
- In-reply-to: <1000607052651.ZM4901@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.21.0006061440350.1718-100000@xxxxxxxxxxxxxxx> <1000607052651.ZM4901@xxxxxxxxxxxxxxxxxxxxxxx>
On Jun 7, 5:26am, Bart Schaefer wrote:
} Subject: Re: configuring the new completion system
}
} On Jun 6, 3:22pm, Wayne Davison wrote:
} }
} } Finally, one of the just-committed cvs changes has introduced a bug
} } where an extra space is getting added when it shouldn't be. Now, if
} } you type "~/.z<tab>" you get "/home/wayne/.z " even though that file
} } does not exist.
}
} Hmm, you're right, it's one of the *really* recent ones, probably either
} 11777 or 11776 (I hope not 11768). I had to re-"make install" to see it.
It was 11777. Confusion about a double-negative, or something like that.
Sven changed a test to be:
if ! zstyle -T ":completion:${curcontext}:" add-space; then
Either it should go back to what it was before:
if zstyle -T ":completion:${curcontext}:" add-space; then
Or else it should use `-t':
if ! zstyle -t ":completion:${curcontext}:" add-space; then
The two are subtly different; the former means "no value for add-space is
set to for the current context" and the latter means "it is not the case
that add-space is set to one of `true', `yes', `on' or `1' for the current
context."
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author