Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with dir names containing spaces and parentheses
- X-seq: zsh-users 22591
- From: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Problem with dir names containing spaces and parentheses
- Date: Mon, 20 Mar 2017 21:26:53 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DxWCvO6eJSA19N5VxMwZTA3oBhWJH4KFTETCPy2AouU=; b=eL1BfFaq92S2LPGO1gYuSkpi+DypedGaSrPfV2vz5+gpZziEib8efNsj1IeQzkboud pPQkioLWaDmMpMxa0JorYWhpcCiBoUbSu0rp7FSKmgioOAlKXvF5oJDRom4+FijNXl5/ peGlkYCT9zY1YMxaAL9bARDaPLB33ulxe3iSM78Wp+mOHLe3FRG2RI5tP6pDjAXnTd9/ Cg7SxRvHiraAVn28iKuoseqYlyE9Sn9rVgqZfmcBqvNSyGjzl3FuWZ/RXg4g8ltI3CEn U2PKx5lyxG9gv/ZZf/xXw3GxU7XA1QdsjZDaXiQWWGlVCZs7UT/8w/nFDNs8+a6A+y/X h3DQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Suppose I have the following .zshrc:
# ===============================
autoload -U compinit; compinit
zstyle ':completion:*' path-completion false
mkdir -p /tmp/a\ \(test\)/{foo,bar}
# ===============================
If I type 'cd /tmp/a\ \(test\)/<tab>', I get no suggestions, although both
'foo' and 'bar' should be candidates. It seems that with this style set to
false, dir names with space and parentheses effectively blocks completions
for content under the problematic directory.
I get the same result with this zstyle instead of the previous one (or with
both together):
zstyle ':completion:*' accept-exact true
This style also makes it impossible to get completion below '/tmp/a\
\(test\)/'
Is it something else that need to be configured?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author