about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-26 02:50:44 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-26 02:50:44 +0000
commit75e1523d5e848577b543ad1bbee15c79d490720b (patch)
treeba168d58effbfefb70d22dd13bd240807639ae78 /Completion
parentc53c6d94d76178c055077619516f704ddd109b3a (diff)
downloadzsh-75e1523d5e848577b543ad1bbee15c79d490720b.tar.gz
zsh-75e1523d5e848577b543ad1bbee15c79d490720b.tar.xz
zsh-75e1523d5e848577b543ad1bbee15c79d490720b.zip
Merge of Frank Benkstein: 24047: fix compdef for more than three commands
using the same service.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/compinit2
1 files changed, 1 insertions, 1 deletions
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" ]] &&