From 88ad890c051648d62b9f12227ebc2adde44e9e66 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 8 Jan 2019 14:19:19 +0000 Subject: users/23829: add and coument file-split-chars style --- Completion/Unix/Type/_path_files | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Completion/Unix') 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 -- cgit v1.2.3