about summary refs log tree commit diff
path: root/Completion/Unix/Type/_path_files
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-06-18 00:15:11 +0200
committerOliver Kiddle <opk@zsh.org>2016-06-18 00:15:11 +0200
commit2f67cd514fef304ac40d49e5bb9c40bcee31664a (patch)
tree36d281ae2af7dc2a5d00c8be3f3afeb9b40c2b77 /Completion/Unix/Type/_path_files
parentbce43df70d1b09d9480dca36e6dd2641facdb6f0 (diff)
downloadzsh-2f67cd514fef304ac40d49e5bb9c40bcee31664a.tar.gz
zsh-2f67cd514fef304ac40d49e5bb9c40bcee31664a.tar.xz
zsh-2f67cd514fef304ac40d49e5bb9c40bcee31664a.zip
38707: strip suffix for glob qualifier completion
Diffstat (limited to 'Completion/Unix/Type/_path_files')
-rw-r--r--Completion/Unix/Type/_path_files1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 14c4cc753..6a1e89f05 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -17,6 +17,7 @@ local -a match mbegin mend
 if _have_glob_qual $PREFIX; then
   local ret=1
   compset -p ${#match[1]}
+  compset -S '[^\)\|\~]#(|\))'
   if [[ $_comp_caller_options[extendedglob] == on ]] && compset -P '\#'; then
     _globflags && ret=0
   else