From: Greg Klanderman <gak@klanderman.net>
To: Zsh list <zsh-workers@zsh.org>
Subject: bug in 'rm' completion
Date: Mon, 9 Nov 2009 00:29:48 -0500 [thread overview]
Message-ID: <19191.43212.832827.724369@gargle.gargle.HOWL> (raw)
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
next reply other threads:[~2009-11-09 5:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 5:29 Greg Klanderman [this message]
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
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=19191.43212.832827.724369@gargle.gargle.HOWL \
--to=gak@klanderman.net \
--cc=zsh-workers@zsh.org \
/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).