about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-08-07 03:25:31 +0000
committerClint Adams <clint@users.sourceforge.net>2006-08-07 03:25:31 +0000
commit37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a (patch)
treedea27444e8a69b4fff5bae5061f5dc808b112ad2 /Completion/Unix/Command
parentf5f90da9c0126f9a87e88b80845442ffd9ff1578 (diff)
downloadzsh-37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a.tar.gz
zsh-37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a.tar.xz
zsh-37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a.zip
22588: handle targets with colons in their names.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_rake b/Completion/Unix/Command/_rake
index f574d6306..72e731b22 100644
--- a/Completion/Unix/Command/_rake
+++ b/Completion/Unix/Command/_rake
@@ -31,7 +31,7 @@ case "$state" in
   ;;
   target)
     local -a targets
-    targets=( ${${(f)"$(_call_program targets $words[1] -sT $opt_args[(I)(-N|--nosearch)] ${(kv)opt_args[(I)(-f|--rakefile)]} 2>/dev/null)"}/(#b)rake ([^ ]##) ##\# (*)/$match[1]:${match[2]:l}} )
+    targets=( ${${(f)"$(_call_program targets $words[1] -sT $opt_args[(I)(-N|--nosearch)] ${(kv)opt_args[(I)(-f|--rakefile)]} 2>/dev/null)"}/(#b)rake ([^ ]##) ##\# (*)/${${match[1]}//:/\\:}:${match[2]:l}} )
     if (( ! ${targets[(I)rake aborted!]} )) then
       _describe -t targets 'rake target' targets && ret=0
     else