From 2f1832c5e140e72e5b5ae7431062489fd48796ef Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 11:10:17 +0000 Subject: [PATCH] moved to Completion/Base/Utility/_contexts --- Completion/Core/_compalso | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Completion/Core/_compalso diff --git a/Completion/Core/_compalso b/Completion/Core/_compalso deleted file mode 100644 index 5307bf30c..000000000 --- a/Completion/Core/_compalso +++ /dev/null @@ -1,17 +0,0 @@ -#autoload - -# This searches $* in the array for normal completions and calls the result. -# It is used to include completions for another command or special context -# into the list generated by the calling function. -# For example the function for `-subscript-' could call this as in -# `_compalso -math-' to get the completions that would be generated for a -# mathematical context. - -local i tmp ret=1 service - -for i; do - tmp="$_comps[$i]" - [[ -z "$tmp" ]] || service="${_services[$i]:-$i}" && "$tmp" && ret=0 -done - -return ret