Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: dir/*<tab> expansion doesn't work with directories with apostrophe in the name
- X-seq: zsh-workers 32282
- From: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: dir/*<tab> expansion doesn't work with directories with apostrophe in the name
- Date: Sat, 18 Jan 2014 11:15:59 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr
- In-reply-to: <140118020829.ZM8003@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: DeuxChevaux.org -- The Citroën 2CV Database
- References: <20140118005330.GA27889@sym.noone.org> <140117182029.ZM7806@torch.brasslantern.com> <20140118095707.GD27889@sym.noone.org> <140118020829.ZM8003@torch.brasslantern.com>
Hi Bart,
On Sat, Jan 18, 2014 at 02:08:29AM -0800, Bart Schaefer wrote:
> On Jan 18, 10:57am, Axel Beckert wrote:
> } Subject: Re: dir/*<tab> expansion doesn't work with directories with apost
> } On Fri, Jan 17, 2014 at 06:20:29PM -0800, Bart Schaefer wrote:
> } > The _expand completer and _expand_word widget via compinit appear to
> } > handle these quote marks correctly, as of 5.0.5.
> }
> } Not sure if I got it right, but I think I can also reproduce it with
> } compinit:
> }
> } /tmp/zsh-test -> zsh -f
> } kiva6% autoload -Uz compinit
> } kiva6% compinit
> } kiva6% ls a\'b/*<Tab>
> } (Does not work, rings the bell.)
>
> You need to try <ctrl+x e> instead of <tab> here, or add something like
>
> zstyle ':completion:*' completer _expand _complete _ignored
>
> otherwise you're still using the built-in expand-word underneath.
Thanks for these hints! Will forward them to the bug reporter.
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe@xxxxxxxxxxxxxxx (Mail)
X See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author