1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

users/23829: add and coument file-split-chars style

This commit is contained in:
Peter Stephenson 2019-01-08 14:19:19 +00:00
parent 325fceab3b
commit 88ad890c05
3 changed files with 20 additions and 0 deletions

View file

@ -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