From 03d14ff12e933c6f7c57946db19c19963375c235 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 3 Jun 2004 15:14:55 +0000 Subject: users/7467: quoted commands weren't found in dispatcher lokoup --- Completion/Base/Core/_dispatch | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Completion/Base') diff --git a/Completion/Base/Core/_dispatch b/Completion/Base/Core/_dispatch index b33c3b413..87c81f899 100644 --- a/Completion/Base/Core/_dispatch +++ b/Completion/Base/Core/_dispatch @@ -40,6 +40,10 @@ fi ret=1 for str in "$@"; do [[ -n "$str" ]] || continue + # The following means we look up the names of commands + # after stripping quotes. This is presumably correct, + # but do we need to do the same elsewhere? + str=${(Q)str} name="$str" comp="${_comps[$str]}" service="${_services[$str]:-$str}" -- cgit 1.4.1