From: martin f krafft <madduck@madduck.net>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Bart Schaefer <schaefer@brasslantern.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Making file-patterns and tag-order work
Date: Fri, 24 Mar 2017 11:18:38 +0100 [thread overview]
Message-ID: <20170324101838.bqmgq6cabp63jtc6@fishbowl.rw.madduck.net> (raw)
In-Reply-To: <CAHYJk3RvPOjGQP3AfwL=hxddUchZOw+J1f2y-z-gxhU7RDyd_Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]
also sprach Mikael Magnusson <mikachu@gmail.com> [2017-03-24 10:19 +0100]:
> Do you have this set too?
> zstyle ':completion:*' group-name ''
Yes!
Now if I uncomment this, then using either form of tag- or
group-order, I get this when I hit <tab> or ^D:
directories
backup files
compiled files
temp files
vim swap files
files
foo.a foo.c foo.o foo.tmp foo.zwc
foobar/ foo.la foo.old foo.txt g
foo.bk foo.lo foo.pyc .foo.txt.swp
Seems like a step, but maybe sideways instead of forwards?
From the manpage, which says about group-name:
If the name given is the empty string the name of the tag for the
matches will be used as the name of the group.
it sounds like this is what I want, because the tags have their own
names already defined. And if I set group-name to "", then the files
get properly listed under the group headers I want (taken from the
tags), it's just the order of tag groups that's not correct.
Cheers,
--
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
"i always had a repulsive need to be something more than human."
-- david bowie
spamtraps: madduck.bogus@madduck.net
[-- Attachment #2: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) --]
[-- Type: application/pgp-signature, Size: 1118 bytes --]
next prev parent reply other threads:[~2017-03-24 10:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-21 9:49 martin f krafft
2017-03-22 1:15 ` Bart Schaefer
2017-03-22 3:35 ` martin f krafft
2017-03-23 4:13 ` Bart Schaefer
2017-03-24 6:59 ` martin f krafft
2017-03-24 9:19 ` Mikael Magnusson
2017-03-24 10:18 ` martin f krafft [this message]
2017-03-24 23:15 ` Bart Schaefer
2017-03-25 11:02 ` martin f krafft
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=20170324101838.bqmgq6cabp63jtc6@fishbowl.rw.madduck.net \
--to=madduck@madduck.net \
--cc=mikachu@gmail.com \
--cc=schaefer@brasslantern.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).