Skip to content

Commit

Permalink
Using compctl instead of compdef to resolve Issue ohmyzsh#1
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyrussell committed Sep 23, 2009
1 parent fff31c3 commit 2759586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rake_completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -39,4 +39,4 @@ function _cap () {
fi
}

compdef _cap cap
compctl -K _cap cap

0 comments on commit 2759586

Please sign in to comment.