From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12877 invoked by alias); 3 Dec 2012 19:02:13 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17451 Received: (qmail 11436 invoked from network); 3 Dec 2012 19:02:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.0 cv=TNAd0CZa c=1 sm=1 a=FKhDCe0npRPuuN1CSB511Q==:17 a=-1ZKr4ocusoA:10 a=8nJEP1OIZ-IA:10 a=8utW9mX0ivIA:10 a=5MXSCgE4zwyIhnBd2H0A:9 a=wPNLvfGTeEIA:10 a=FKhDCe0npRPuuN1CSB511Q==:117 Message-id: <50BCF01A.4020105@eastlink.ca> Date: Mon, 03 Dec 2012 10:31:54 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: completion References: <50BCE4E1.6060605@eastlink.ca> In-reply-to: <50BCE4E1.6060605@eastlink.ca> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 03/12/12 09:44 AM, Ray Andrews wrote: > Gentlemen: > > I'm trying to get command line completion to only offer me lines that > are an exact match for what has already been typed. The number of > things you can set in .zshrc is a bit overwhelming. I have all this > just for 'completion' and I confess I have little idea what does what: > > zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' > zstyle ':completion:*:killall:*' command 'ps -u $USER -o cmd' > zstyle ':completion:*' menu select > zstyle ':completion:*' completer _complete _match _approximate > zstyle ':completion:*:match:*' original only > zstyle ':completion:*:approximate:*' max-errors 1 numeric > zstyle ':completion:*:*:kill:*' menu yes select > zstyle ':completion:*:kill:*' force-list always > zstyle ':completion:*:cd:*' ignore-parents parent pwd > > Can anyone rationalize all that? I'm going to hack away at it blindly > in the mean time, but some fatherly advice would be apreciated. > > Tx. > Ah! Need to bind up arrow to history-beginning-search-backward not history-search-backward and all is well. Barking up the wrong tree with 'completion'. But geez, all this sure is hard to figure out.