From 75e1523d5e848577b543ad1bbee15c79d490720b Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Mon, 26 Nov 2007 02:50:44 +0000 Subject: Merge of Frank Benkstein: 24047: fix compdef for more than three commands using the same service. --- Completion/compinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/compinit b/Completion/compinit index f330f4ae0..cd9045b68 100644 --- a/Completion/compinit +++ b/Completion/compinit @@ -268,7 +268,7 @@ compdef() { if [[ "$1" = *\=* ]]; then cmd="${1%%\=*}" svc="${1#*\=}" - func="$_comps[${_services[(R)$svc]:-$svc}]" + func="$_comps[${_services[(r)$svc]:-$svc}]" [[ -n ${_services[$svc]} ]] && svc=${_services[$svc]} [[ -z "$func" ]] && -- cgit 1.4.1