From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12959 invoked from network); 9 Jul 2001 18:51:30 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jul 2001 18:51:30 -0000 Received: (qmail 18105 invoked by alias); 9 Jul 2001 18:45:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15342 Received: (qmail 18089 invoked from network); 9 Jul 2001 18:45:39 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) Message-ID: <3B49FCAD.7080505@mow.siemens.ru> Date: Mon, 09 Jul 2001 22:49:17 +0400 From: Andrej Borsenkow User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010705 X-Accept-Language: en-us MIME-Version: 1.0 To: Stefan `Sec` Zehl CC: zsh-workers@sunsite.dk Subject: Re: zsh 4.x bug in completion? References: <20010709203306.A24119@matrix.42.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Stefan `Sec` Zehl wrote: > > So i go to the beginning of the line, and add "sud"-. 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