From: Mikael Magnusson <mikachu@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: completing files first
Date: Wed, 30 Jan 2013 15:52:52 +0100 [thread overview]
Message-ID: <CAHYJk3SxbGVtND35aXmV4rtRfLFuZKUXMEBrQzV=GxPAL9qHJw@mail.gmail.com> (raw)
In-Reply-To: <20130130144942.GA3384@kelebek.lublin.se>
On 30 January 2013 15:49, Daniel <quite@hack.org> wrote:
> On Wed, Jan 30, 2013 at 03:41:20PM +0100, Mikael Magnusson wrote:
>> On 29/01/2013, Daniel <quite@hack.org> 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
next prev parent reply other threads:[~2013-01-30 16:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 17:47 Daniel
2013-01-30 10:16 ` Jesper Nygårds
2013-01-30 11:44 ` Daniel
2013-01-30 14:42 ` Re[2]: " Manuel Presnitz
2013-01-30 15:07 ` Daniel
2013-01-30 14:41 ` Mikael Magnusson
[not found] ` <20130130144942.GA3384@kelebek.lublin.se>
2013-01-30 14:52 ` Mikael Magnusson [this message]
2013-01-30 15:04 ` Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHYJk3SxbGVtND35aXmV4rtRfLFuZKUXMEBrQzV=GxPAL9qHJw@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).