zsh-workers
 help / color / mirror / code / Atom feed
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: Sat, 18 Jan 2014 02:08:29 -0800	[thread overview]
Message-ID: <140118020829.ZM8003@torch.brasslantern.com> (raw)
In-Reply-To: <20140118095707.GD27889@sym.noone.org>

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.


  reply	other threads:[~2014-01-18 10:08 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
2014-01-18  9:57   ` Axel Beckert
2014-01-18 10:08     ` Bart Schaefer [this message]
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=140118020829.ZM8003@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).