zsh-workers
 help / color / mirror / code / Atom feed
* bug in 'rm' completion
@ 2009-11-09  5:29 Greg Klanderman
  2009-11-09 16:17 ` Greg Klanderman
  2009-11-09 16:29 ` Bart Schaefer
  0 siblings, 2 replies; 10+ messages in thread
From: Greg Klanderman @ 2009-11-09  5:29 UTC (permalink / raw)
  To: Zsh list


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-11-12 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09  5:29 bug in 'rm' completion Greg Klanderman
2009-11-09 16:17 ` Greg Klanderman
2009-11-09 17:29   ` Bart Schaefer
2009-11-09 17:52     ` Greg Klanderman
2009-11-09 21:20       ` Greg Klanderman
2009-11-10 15:52         ` Bart Schaefer
2009-11-12  2:48           ` Greg Klanderman
2009-11-12  4:21             ` Bart Schaefer
2009-11-12 17:22               ` Greg Klanderman
2009-11-09 16:29 ` Bart Schaefer

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).