diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-27 17:37:07 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-27 17:37:07 +0000 |
commit | 5070e79545deebd122b7929678ae63d1b2292fca (patch) | |
tree | 03608f8e8e40d33088ef59571446e14ecc9fc974 /Completion/Core | |
parent | 443c0f7f056f7d0d7a655af62dd9c70c7767a702 (diff) | |
download | zsh-5070e79545deebd122b7929678ae63d1b2292fca.tar.gz zsh-5070e79545deebd122b7929678ae63d1b2292fca.tar.xz zsh-5070e79545deebd122b7929678ae63d1b2292fca.zip |
zsh-workers:6118 zsh-3.1.5-pws-16-w6119
Diffstat (limited to 'Completion/Core')
-rw-r--r-- | Completion/Core/_closequotes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/Core/_closequotes b/Completion/Core/_closequotes new file mode 100644 index 000000000..2c4b390e5 --- /dev/null +++ b/Completion/Core/_closequotes @@ -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 |