From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3286 invoked by alias); 30 Jan 2013 10:24:03 -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: 17622 Received: (qmail 4765 invoked from network); 30 Jan 2013 10:24: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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.215.180 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=tzKAGqS5UQHPNkNruvTpIKXc5s1guaHSux/fppWkub0=; b=omB1Ourew840KzPZxl1meWYaocQyHLXvcngCq7VjGp+ADq7Gr/OE3BUQOtnLl9TX4V cvrC4ogTFrkTe8ldwcU6kJRgC4EhPz5i9ruNJzc1mVogcVJ7lmgnVtSk4vmB/DM8avzg O10AfP0eeVe24lftWyjbnObRp3kgtieffQr9w55AhvwqyhSdwMeuJcHbV6vfoDLZkJen MmmaT8D05wIW2H3I9D/pPPBjDix3xPPKihoPApElxaeUZQ+iwP0YRv3HLCvAca4eYfNB qaaNddbCf8GAuwoerM1/4fb8Dkqf7nSvQUAhJSc592nRIbs3tbkkj3bBbPaaklmBP7E3 Q+ng== MIME-Version: 1.0 X-Received: by 10.14.225.133 with SMTP id z5mr13709559eep.15.1359540976489; Wed, 30 Jan 2013 02:16:16 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Jan 2013 11:16:16 +0100 Message-ID: Subject: Re: completing files first From: =?ISO-8859-1?Q?Jesper_Nyg=E5rds?= To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=047d7b66f54df616ba04d47ecc52 --047d7b66f54df616ba04d47ecc52 Content-Type: text/plain; charset=ISO-8859-1 Are you using menu-completion? I do, and use this which works well for me: zstyle ':completion:*' file-patterns '*(-/):directories %p(^-/):globbed-files' '*:all-files' zstyle ':completion:*' group-order globbed-files all-files directories On Tue, Jan 29, 2013 at 6:47 PM, 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"? > > --047d7b66f54df616ba04d47ecc52--