Browse Source

Using compctl instead of compdef to resolve Issue #1

master
Robby Russell 15 years ago
parent
commit
b3defd3767
  1. 4
      rake_completion.zsh

4
rake_completion.zsh

@ -17,7 +17,7 @@ _rake () {
fi fi
} }
compdef _rake rake compctl -K _rake rake
function _cap_does_task_list_need_generating () { function _cap_does_task_list_need_generating () {
if [ ! -f .cap_tasks~ ]; then return 0; if [ ! -f .cap_tasks~ ]; then return 0;
@ -39,4 +39,4 @@ function _cap () {
fi fi
} }
compdef _cap cap compctl -K _cap cap

Loading…
Cancel
Save