From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26524 invoked by alias); 30 Jan 2013 15:05: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: 17626 Received: (qmail 882 invoked from network); 30 Jan 2013 15:05: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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Daniel Subject: Re: completing files first Date: Wed, 30 Jan 2013 15:04:43 +0000 (UTC) Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c83-249-23-194.bredband.comhem.se User-Agent: slrn/1.0.1 (Linux) On 2013-01-30, Mikael Magnusson wrote: > On 29/01/2013, Daniel wrote: >> When completing files in the current directory, I generally want it to >> pick actual files first (and not directories). I am normally in the >> directory where I want to work on a file, so when I do "qiv" or >> "qiv foo" to view some image, I want the files first, and secondly >> directories. I knew about group-order, but there seems to be only on >> group "files"? > > zstyle ':completion:*' list-dirs-first true > then you can probably change the order of these with group-order if you want. This did list directories first, but "group-order file directories" did not work to order the groups. Perhaps I'm not catching the correct group with "file"--but that's what I see as the name in the competion menu, and I do have "group-name ''".