From 95883d8b95f7bcbde921b5337f1d24384c36cc87 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 16 May 2000 11:24:55 +0000 Subject: avoid tilde- and parameter-completion in quotes (11407) --- Completion/Base/_tilde | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Base/_tilde') 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 -- cgit 1.4.1