2759586aae5bea9ec38bb16403381c73589776ed

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Using compctl instead of compdef to resolve Issue #1

Diff

 1diff --git a/rake_completion.zsh b/rake_completion.zsh
 2index 239fe15a3502c94b6260e2a8df0c34c950e22280..c425a625e1d219740e2b63bacf42e0e10fc1b46a 100644
 3--- a/rake_completion.zsh
 4+++ b/rake_completion.zsh
 5@@ -17,7 +17,7 @@ _rake () {
 6   fi
 7 }
 8 
 9-compdef _rake rake
10+compctl -K _rake rake
11 
12 function _cap_does_task_list_need_generating () {
13   if [ ! -f .cap_tasks~ ]; then return 0;
14@@ -39,4 +39,4 @@ function _cap () {
15   fi
16 }
17 
18-compdef _cap cap
19+compctl -K _cap cap