From b3defd37672de23a4bf5f869578d1620eca4cbc2 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Tue, 22 Sep 2009 20:36:28 -0700 Subject: [PATCH] Using compctl instead of compdef to resolve Issue #1 --- rake_completion.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rake_completion.zsh b/rake_completion.zsh index 239fe15a..c425a625 100644 --- a/rake_completion.zsh +++ b/rake_completion.zsh @@ -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