mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Using compctl instead of compdef to resolve Issue #1
This commit is contained in:
parent
fff31c33bc
commit
2759586aae
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue