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

Re: bash like tab tab 's

> } Subject: bash like tab tab 's
> }
> } In the brief period between installing Linux and changing the default
> } shell to zsh, I noticed bash's tab tab feature, where pressing tab once
> } will try to complete a word as per usual, but if it can't, pressing it a 
> } second time will give a list of commands.
> I think you want
> setopt autolist listambiguous

that's does a list after the first TAB.  I was interested in having it
complete as far as possible first, beep, then (after second TAB) list.

> While we're on the subject of just-noticed features in other shells, I
> just noticed that tcsh's `complete' command can take a glob pattern for
> the name of the command(s) to which the programmable completion should
> apply.  Does anybody think this would be useful enough to add to zsh?

sounds groovy.

Duncan Sargeant, http://www.ucc.gu.uwa.edu.au/~dunc/
"All extremists should be shot."

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