Browse code

Using compctl instead of compdef to resolve Issue #1

Robby Russell authored on 23/09/2009 at 03:36:28
Showing 1 changed files
... ...
@@ -17,7 +17,7 @@ _rake () {
17 17
   fi
18 18
 }
19 19
 
20
-compdef _rake rake
20
+compctl -K _rake rake
21 21
 
22 22
 function _cap_does_task_list_need_generating () {
23 23
   if [ ! -f .cap_tasks~ ]; then return 0;
... ...
@@ -39,4 +39,4 @@ function _cap () {
39 39
   fi
40 40
 }
41 41
 
42
-compdef _cap cap
42
+compctl -K _cap cap