From: Sam Hocevar <sam@hocevar.net>
To: zsh-workers@zsh.org
Subject: Unquoted "-" tokenization broke glob_complete
Date: Thu, 3 Jan 2019 13:07:51 +0100 [thread overview]
Message-ID: <20190103120751.thttr6b3wxzkm5xw@hocevar.net> (raw)
Commit f3f8537cfa05414ad14494e809d9ebfeef86ebbc [1] broke autocompletion
when a directory name contains a hyphen and glob_complete is active.
Simple repro:
mkdir -p foo-/bar
unsetopt glob_complete
# This works
echo foo-/b<TAB>
setopt glob_complete
# This fails
echo foo-/b<TAB>
1: https://sourceforge.net/p/zsh/code/ci/f3f8537cfa05414ad14494e809d9ebfeef86ebbc/
--
Sam.
next reply other threads:[~2019-01-03 12:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190103121454epcas3p4e581fa9f1880f6453e1696415bb459a4@epcas3p4.samsung.com>
2019-01-03 12:07 ` Sam Hocevar [this message]
2019-01-03 12:40 ` 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=20190103120751.thttr6b3wxzkm5xw@hocevar.net \
--to=sam@hocevar.net \
--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).