Permalink
Browse files

Using compctl instead of compdef to resolve Issue #1

  • Loading branch information...
robbyrussell committed Sep 23, 2009
1 parent fff31c3 commit 2759586aae5bea9ec38bb16403381c73589776ed
Showing with 2 additions and 2 deletions.
  1. +2 −2 rake_completion.zsh
View
@@ -17,7 +17,7 @@ _rake () {
fi
}
-compdef _rake rake
+compctl -K _rake rake
function _cap_does_task_list_need_generating () {
if [ ! -f .cap_tasks~ ]; then return 0;
@@ -39,4 +39,4 @@ function _cap () {
fi
}
-compdef _cap cap
+compctl -K _cap cap

0 comments on commit 2759586

Please sign in to comment.