Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange bug when completing [ in file names
- X-seq: zsh-workers 20724
- From: Tobias Gruetzmacher <tobias@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Strange bug when completing [ in file names
- Date: Mon, 17 Jan 2005 15:44:12 +0100
- In-reply-to: <1050117044155.ZM29588@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <41EAE932.5070808@xxxxxxxxxxxxxx> <1050117044155.ZM29588@xxxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer schrieb:
On Jan 16, 11:22pm, Tobias Gruetzmacher wrote:
}
} $ ls /home/tobias/testcase/file\[stuff
} ---- all expansions
What's the value of your completer style?
You mean this:
zstyle ':completion:*' completer _expand _complete _correct _approximate
My guess is that the _expand completer is spotting the '[' and deciding
that it's a pattern character, and therefore generating matches, so none
of the completers that are listed after _expand gets a chance to run.
Hmm, sounds like a could work around this thing by swapping _expand and
_complete? I tried that and it seems to work right now, but I don't know
what implications on other aspects of the completion system that has...
Greetings Tobi
--
GPG-Key 0xE2BEA341 - signed/encrypted mail preferred
My, oh so small, homepage: http://portfolio16.de/
http://www.fli4l.de/ - ISDN- & DSL-Router on one disk!
Registered FLI4L-User #00000003
Messages sorted by:
Reverse Date,
Date,
Thread,
Author