From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: dir/*<tab> expansion doesn't work with directories with apostrophe in the name
Date: Fri, 17 Jan 2014 18:20:29 -0800 [thread overview]
Message-ID: <140117182029.ZM7806@torch.brasslantern.com> (raw)
In-Reply-To: <20140118005330.GA27889@sym.noone.org>
On Jan 18, 1:53am, Axel Beckert wrote:
}
} When the directory contains a single quote (apostrophe) in its name,
} pressing the tab key to expand dir/* into a list of files no longer
} works. What happens instead is that the tab key doesn't do anything
} while cursor is inside the dir/* word.
This is the behavior for me as far back as zsh-4.2.0 when starting from
zsh -f. It's probably related to changing expand-word to use the same
internal routines as completion, which happened somewhere during 4.1.x
development.
Some discussion of this can be found in the threads leading up to
users/18243 and subsequently workers/32186 ...
The _expand completer and _expand_word widget via compinit appear to
handle these quote marks correctly, as of 5.0.5. It's only the default
internal expand-word / expand-or-complete that still get stuck.
next prev parent reply other threads:[~2014-01-18 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-18 0:53 Axel Beckert
2014-01-18 2:20 ` Bart Schaefer [this message]
2014-01-18 9:57 ` Axel Beckert
2014-01-18 10:08 ` Bart Schaefer
2014-01-18 10:15 ` Axel Beckert
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=140117182029.ZM7806@torch.brasslantern.com \
--to=schaefer@brasslantern.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).