Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completing files first
- X-seq: zsh-users 17628
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: completing files first
- Date: Wed, 30 Jan 2013 15:52:52 +0100
- 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==
- In-reply-to: <20130130144942.GA3384@kelebek.lublin.se>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <ke9202$tmj$1@ger.gmane.org> <CAHYJk3SCt3vbmP+iZ9vmU87tzrbmmHpxV+zjGGWR1SGofO7ckw@mail.gmail.com> <20130130144942.GA3384@kelebek.lublin.se>
On 30 January 2013 15:49, Daniel <quite@xxxxxxxx> wrote:
> On Wed, Jan 30, 2013 at 03:41:20PM +0100, Mikael Magnusson wrote:
>> On 29/01/2013, Daniel <quite@xxxxxxxx> 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<TAB>" or
>> > "qiv foo<TAB>" 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author