about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-16 11:24:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-16 11:24:55 +0000
commit95883d8b95f7bcbde921b5337f1d24384c36cc87 (patch)
tree12be39beff7df933497e4c88e2101a5fca66ca92 /Completion/Base
parent0129f41d8002b403d6b335c27264df2cdee7369d (diff)
downloadzsh-95883d8b95f7bcbde921b5337f1d24384c36cc87.tar.gz
zsh-95883d8b95f7bcbde921b5337f1d24384c36cc87.tar.xz
zsh-95883d8b95f7bcbde921b5337f1d24384c36cc87.zip
avoid tilde- and parameter-completion in quotes (11407)
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_tilde2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/_tilde b/Completion/Base/_tilde
index 7d31185b7..59ac8d0f6 100644
--- a/Completion/Base/_tilde
+++ b/Completion/Base/_tilde
@@ -4,6 +4,8 @@
 # for you or if there are too many of them, you may want to use
 # `compadd -qS/ - "$friends[@]"' or something like that.
 
+[[ -n "$compstate[quote]" ]] && return 1
+
 local expl suf dirs list lines revlines i ret disp nm="$compstate[nmatches]"
 
 if [[ "$SUFFIX" = */* ]]; then