From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: Weird tab complete problem with long directory names with a dash and unicode characters
Date: Tue, 03 Jan 2017 12:57:06 +0000 [thread overview]
Message-ID: <20170103125706.4b493bf0@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAHYJk3QMDpRhEfyPNEi-k4eh2Ybd-U0HwsFOz8xTetNf3yArvg@mail.gmail.com>
On Sat, 31 Dec 2016 21:44:28 +0100
Mikael Magnusson <mikachu@gmail.com> wrote:
> If you do
> mkdir -p るるるるるるるるるるるるるるるるるるるるるるるるる-/foo
> and then attempt to complete foo from the current location, it doesn't
> work with compinit loaded.
Got somewhere with this: adding a bogus assignment of tmp1 back to
itself inside _path_files (first of the two lines below), I get
+_path_files:467> tmp1=( 'xるるるるるるるるるるるるる-/*' )
+_path_files:468> tmp1=( )
The string in the first line seems to be correct, unless I'm
not seeing / copying everything that's there.
The next line is an expansion using $~tmp1 that should just glob. So
it's going wrong there --- command line tests seem to confirm this.
pws
next prev parent reply other threads:[~2017-01-03 13:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20161231222027epcas2p263aba2ec0dd2552aabf50ad6148334be@epcas2p2.samsung.com>
2016-12-31 20:44 ` Mikael Magnusson
2017-01-01 3:47 ` Daniel Shahaf
2017-01-02 21:52 ` Bart Schaefer
2017-01-03 2:57 ` Daniel Shahaf
2017-01-03 12:57 ` Peter Stephenson [this message]
2017-01-03 14:36 ` Peter Stephenson
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=20170103125706.4b493bf0@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@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).