From 53d36e795b26a945048e7a87a1a91224f8e1663a Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sun, 2 May 1999 15:19:50 +0000 Subject: zsh-3.1.5-pws-17 --- Completion/Core/_closequotes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Completion/Core/_closequotes (limited to 'Completion/Core/_closequotes') 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 -- cgit 1.4.1