diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2007-11-01 10:56:39 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2007-11-01 10:56:39 +0000 |
commit | 176ba3153192ce118548c1b1f6f1fae1dfda15ee (patch) | |
tree | 7c6a3f6d57340910c2d99644ffbed024c8be84e5 /Completion/compinit | |
parent | 4ac2515ed8b0309369bd4eb3188e862080c1f564 (diff) | |
download | zsh-176ba3153192ce118548c1b1f6f1fae1dfda15ee.tar.gz zsh-176ba3153192ce118548c1b1f6f1fae1dfda15ee.tar.xz zsh-176ba3153192ce118548c1b1f6f1fae1dfda15ee.zip |
Frank Benkstein: 24047: fix compdef for more than three commands using the
same service
Diffstat (limited to 'Completion/compinit')
-rw-r--r-- | Completion/compinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/compinit b/Completion/compinit index ad24ac7a5..2942f435d 100644 --- a/Completion/compinit +++ b/Completion/compinit @@ -271,7 +271,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" ]] && |