Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[Bug] Autocomplete bug when directory contains parentheses
- X-seq: zsh-users 29246
- From: Benedikt Westreicher <benedikt.westreicher@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: [Bug] Autocomplete bug when directory contains parentheses
- Date: Wed, 13 Sep 2023 16:50:20 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Pkdf0s8atl28PIg+n8dt+JP5vQaLX5FxdhvMVik9jU4=; b=X4k3MONurkiw/YTphTYC4ffaVuqil8xacmGO6sI04ugEFsvwfv5+2AlBJwAH1cyUjMcF2oYaZUc+cldqUSfLoDSfWoNUHSDLRND8Eg/DD0GnPz36LdqttFAR7DlYIeO3jq5cfHOKAb1HkxIdIeymnNUoGVUG9XLjAb2Lmm+nSl/VeMcsc2g0NDaGv9AvnZJ/YmSSbI90HzdOw8cfNyoes/iR135tczGGCeHNDFuIIGtgdTZcqCKpuUrmNEnfTTrty9EWYC80cb8NBbE82P3KPrdlDRlt591It2Ha/KcewGdtyf19e/2uxQMCQBVr9O4G93DD5mjMv7YI9nDPQIVdyg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mRa5taO+ujYBV1u3Z+qrTDJAVVD7nFev0hwhOwcBsUQRNdDgqVBmv6Wj7X2bFYdxilSM8gqz5i23C0uiokP2WN89D3pUqNLdKOTmQ26Javtmgf3omChGNrPAvwXzpSfvbtTPVxJ9XJa4/nVM6hGZ0Hoc41nPUZPwdSglAiRqiRKfgs4oIhbmuor0cRalfNdbV2YZukpG/s+N0ZQC4QXaRNie37p+6elmEMp/N0ShAyO3rLyli1/M8+svpuKFKQA/K1Wa8JX2SaNBVGENdAJIJ+8wCRmT9Wd4SCbVu3ABR0mQwhqUoSHmpTnNbcnFo8Xiwq3e3j6+yKJ/KIvuU17ycw==
- Archived-at: <https://zsh.org/users/29246>
- List-id: <zsh-users.zsh.org>
Hi,
I can across a problem when trying to autcomplete a path that
contained a directory with parentheses.
It can be reproduced with:
```
% PS1='%# ' zsh -f
% autoload compinit
% compinit
% cd $(mktemp -d)
% mkdir 'a(b)'
% touch 'a(b)'/x
% mv 'a(b)/<TAB>
% mv 'a(b)/x'<^C>
% zstyle ':completion:*:paths' path-completion no
% mv 'a(b)/<TAB>
<BEEP>
```
Thanks to marlonrichert on Github
for the test case
Messages sorted by:
Reverse Date,
Date,
Thread,
Author