Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 4.x bug in completion?
- X-seq: zsh-workers 15342
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Stefan `Sec` Zehl <sec@xxxxxx>
- Subject: Re: zsh 4.x bug in completion?
- Date: Mon, 09 Jul 2001 22:49:17 +0400
- Cc: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010709203306.A24119@xxxxxxxxxxxxx>
Stefan `Sec` Zehl wrote:
So i go to the beginning of the line, and add "sud"-<TAB>. The line now
looks like this:
| nuyen% sudo echo test
Use new completion (you are better off to remap TAB to complete-word
instead of expand-or-coplete)
{pts/1}% zsh -f
localhost% autoload -U compinit; compinit
localhost% zstyle ':completion:*' completer _oldlist _complete _match
_prefix
localhost% zstyle ':completion:*' add-space true
localhost% setopt completeinword
localhost% echo test
test
localhost% sudTABecho test
localhost% sudo echo test
test
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author