summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2019-01-08 14:19:19 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2019-01-08 14:19:19 +0000
commit88ad890c051648d62b9f12227ebc2adde44e9e66 (patch)
treea27cabe64e3935eab8a3d7d98c80a28b509fa728 /Completion
parent325fceab3b4ffa871777bacc420e0e8efcb0afb9 (diff)
downloadzsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.gz
zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.xz
zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.zip
users/23829: add and coument file-split-chars style
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_path_files5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 9fa6ae9fc..1021c34e6 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -2,6 +2,11 @@
 
 local -a match mbegin mend
 
+local splitchars
+if zstyle -s ":completion:${curcontext}:" file-split-chars splitchars; then
+  compset -P "*[${(q)splitchars}]"
+fi
+
 # Look for glob qualifiers.  Do this first:  if we're really
 # in a glob qualifier, we don't actually want to expand
 # the earlier part of the path.  We can't expand inside