From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-users@zsh.org
Subject: Re: multibyte implementation (for filename completion with umlauts)
Date: Thu, 20 Sep 2018 16:05:35 +0000 [thread overview]
Message-ID: <20180920160535.oiflfeb6zxckhfte@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <20180920101403.unp6epfpqllzzqov@spiegl.de>
Andy Spiegl wrote on Thu, Sep 20, 2018 at 12:14:03 +0200:
> Actually, all I'd like to achieve is case insensitivity for umlauts like that:
> zstyle ':completion:*' matcher-list 'm:{A-ZÄÖÜa-zäöü}={a-zäöüA-ZÄÖÜ}
I don't have a fix for you, but
.
zstyle \* matcher-list 'm:{A-Za-z}={a-zA-Z} m:ae=Ä'
.
works for me for completing «fooae<TAB>» to «FOOÄBAR». It doesn't work
if I use «ä» instead of «ae». Therefore, how about writing a widget
that does s/ẍ/xe/ (for x in a,o,u,A,O,U) before attempting completion.
Would that be a workaround?
Cheers,
Daniel
next prev parent reply other threads:[~2018-09-20 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-20 10:14 Andy Spiegl
2018-09-20 16:05 ` Daniel Shahaf [this message]
2018-09-25 16:47 ` Andy Spiegl
2018-09-25 19:15 ` Daniel Shahaf
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=20180920160535.oiflfeb6zxckhfte@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--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).