From 79323d6d41c91860cd05800a06cf8076df5051bd Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 15 Mar 2002 16:26:08 +0000 Subject: 16842: resolve name clash for nc between netcat and the nedit client for completion and add _pick_variant to resolve program variants in general --- Completion/X/Command/_nedit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/X') diff --git a/Completion/X/Command/_nedit b/Completion/X/Command/_nedit index f25ad503a..c915c25ec 100644 --- a/Completion/X/Command/_nedit +++ b/Completion/X/Command/_nedit @@ -1,4 +1,4 @@ -#compdef nedit nc +#compdef nedit nedit-nc=nc ncl=nc local state line expl nedit_common curcontext="$curcontext" ret=1 typeset -A opt_args @@ -14,7 +14,7 @@ nedit_common=( \ '*-xrm:resource:_x_resource' \ '*:file:_files' ) -if [[ $service = *nc ]]; then +if [[ $service = nc ]]; then _x_arguments -C \ '(-noask)-ask[prompt if no server found]' \ '(-ask)-noask[start a new server without asking if none found]' \ -- cgit 1.4.1