mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Using compctl instead of compdef to resolve Issue #1
This commit is contained in:
1 parent
fff31c33bc
commit
2759586aae
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
Reference in new issue
Block a user