Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: rm somefile<tab> completion issues



Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> writes:

> On 10 Jul 2009 13:34:42 -0700
> Philippe Troin <phil@xxxxxxxx> wrote:
> > Now if I type this:
> > % ls a<TAB>
> > 
> > The completion offers both 'a' and 'ab'.
> > 
> > Now to my issue:
> > % rm a<TAB>
> > 
> > And 'ab' is completed with 'a' being proposed.
> 
> Do you mean it goes straight to showing "ab" on the command line on the
> first <TAB>?

Yep.

> The possibilities are limited since you're using zsh -f, but /etc/zshenv
> might hold the key, or there might be a rogue completion file in fpath.
> Could rm be an alias for something?

Fpath is set tot he default: /usr/share/zsh/4.3.9/functions
/usr/share/zsh/site-functions.

/etc/zshenv is empty.

There are no aliases.

Phil.



Messages sorted by: Reverse Date, Date, Thread, Author