diff options
| author | Peter Stephenson <p.stephenson@samsung.com> | 2019-01-08 14:19:19 +0000 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-01-08 14:19:19 +0000 |
| commit | 88ad890c051648d62b9f12227ebc2adde44e9e66 (patch) | |
| tree | a27cabe64e3935eab8a3d7d98c80a28b509fa728 /Completion/Unix | |
| parent | unposted: Update for 5.6.2-test-3 (diff) | |
| download | zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.gz zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.bz2 zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.lz zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.xz zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.tar.zst zsh-88ad890c051648d62b9f12227ebc2adde44e9e66.zip | |
users/23829: add and coument file-split-chars style
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_path_files | 5 |
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 |
