mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-17 09:08:04 +02:00
zsh-workers:6118
This commit is contained in:
parent
443c0f7f05
commit
5070e79545
1 changed files with 11 additions and 0 deletions
11
Completion/Core/_closequotes
Normal file
11
Completion/Core/_closequotes
Normal file
|
@ -0,0 +1,11 @@
|
|||
#autoload
|
||||
|
||||
# If the current completion is in quotes, add the closing quote.
|
||||
# This can clash with some of the more sophisticated forms of completion
|
||||
|
||||
if [[ -n $compstate[quote] && $RBUFFER != *${compstate[quote]}* ]]; then
|
||||
compstate[restore]=''
|
||||
ISUFFIX="$ISUFFIX$compstate[quote]"
|
||||
fi
|
||||
|
||||
return 1
|
Loading…
Reference in a new issue