From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28814 invoked by alias); 30 Jan 2013 16:31:29 -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: 17628 Received: (qmail 29574 invoked from network); 30 Jan 2013 16:31:18 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.214.179 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=rzcOn+YZ3PalSz/xLvlr9aaPbI8oASTutFI4QfIsVws=; b=x2JvY2OWxqUcfSJKnNxEgw/5HJ0dgDKvBz6mBUnElum7gEsSVL6xny2OiesVzLsbNf yLDPSeuDobvfLzJctbTbqgYHzA55flR3jrzvV/nD5ZLWUBTb2T8D6ajUOmhA6AguN2y0 UcKb4cQcm053rV2RbT6Gz3YJwGzTcpIbcvEx36RBFogt9JfIvdrBCq0fdACYaKB5cLlU GRqfYMRxgEAK+yLCmHdQr9uYSI0xM1M2xtkiv3ZzwwNfIkvsp1VHQMxHNa3znSqh33l/ PZzKHCW4hdnUzmmaRdWDOVrpndxNVsr71qv6IndhhhYbcZ5wEEoOs89iujoMZbY3egbz 1bWA== MIME-Version: 1.0 X-Received: by 10.60.32.69 with SMTP id g5mr3931144oei.21.1359557573035; Wed, 30 Jan 2013 06:52:53 -0800 (PST) In-Reply-To: <20130130144942.GA3384@kelebek.lublin.se> References: <20130130144942.GA3384@kelebek.lublin.se> Date: Wed, 30 Jan 2013 15:52:52 +0100 Message-ID: Subject: Re: completing files first From: Mikael Magnusson To: Zsh Users Content-Type: text/plain; charset=UTF-8 On 30 January 2013 15:49, Daniel wrote: > On Wed, Jan 30, 2013 at 03:41:20PM +0100, 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. > > Oh thanks, one step further... But, no, the following doesn't cut it... > > zstyle ':completion:*' group-order file directories The tag for files is called other-files when list-dirs-first is enabled. -- Mikael Magnusson