Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug in 'rm' completion
- X-seq: zsh-workers 27371
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxx>
- Subject: bug in 'rm' completion
- Date: Mon, 9 Nov 2009 00:29:48 -0500
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Reply-to: gak@xxxxxxxxxxxxxx
Running current cvs trunk:
| [~] greg@lwm| zsh -f
| lwm% echo $ZSH_VERSION
| 4.3.10-dev-1
| lwm% echo $ZSH_PATCHLEVEL
| 1.4806
| lwm% rm .zcompdump
| lwm% autoload -U compinit
| lwm% compinit -u
| lwm% mkdir temp2
| lwm% cd temp2
| lwm% touch foo foo-bar
At this point, if you type "rm f" and hit <tab> it correctly completes
to "rm foo". If you then hit <tab> again, it incorrectly completes to
"rm foo-bar".
| lwm% rm foo-bar
| lwm% rm foo
| lwm%
| lwm% touch foo{1,2,3}
Now, type "rm foo2" and hit <tab> and it incorrectly thinks there are
no completions, whereas it should insert a space.
Will look into fixing these at some point but figured I'd report them
first in case the fix is obvious to anyone out there.. I assume both
examples are manifestations of the same bug.
cheers,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author