From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15586 invoked by alias); 7 Jan 2015 15:13:39 -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: 19693 Received: (qmail 15227 invoked from network); 7 Jan 2015 15:13:26 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Wed, 7 Jan 2015 16:01:09 +0100 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: completion Message-ID: <20150107150109.GA14088@ypig.lip.ens-lyon.fr> Mail-Followup-To: zsh-users@zsh.org References: <5488D414.6010300@eastlink.ca> <30453.1418258082@thecus.kiddle.eu> <5488F0AC.2040901@eastlink.ca> <141210214454.ZM12261@torch.brasslantern.com> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> <5489F1BC.5000900@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5489F1BC.5000900@eastlink.ca> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6391-vl-r75100 (2015-01-06) On 2014-12-11 11:34:20 -0800, Ray Andrews wrote: > Anyway, knowing that the star replaces the colons cracks it open. This is a bit old, but... When can an asterisk replace a colon? For instance, in: zstyle ':completion:*:*:-redirect-,2>,*:*' file-patterns '*.log' zstyle ':completion:*:*:kill:*' verbose no zstyle ':completion:*:default' menu ... zstyle ':completion:*:sudo::' environ [...] zstyle ':completion::complete:cd:*' tag-order [...] zstyle ':completion:*:*:rm:*' file-patterns [...] zstyle ':completion:*:*:-command-:*' group-order [...] zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*:complete:*' matcher-list [...] etc. which have one or several missing colons. This is from the zshcompsys(1) man page. If an asterisk can match anything, there may be an ambiguity on which field some given word will match. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)