mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 11761cdc36 into 5667161d49
This commit is contained in:
commit
5e38bdd73f
1 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,11 @@ _tasks_changed () {
|
||||||
}
|
}
|
||||||
|
|
||||||
_rake_generate () {
|
_rake_generate () {
|
||||||
rake --silent --tasks | cut -d " " -f 2 > .rake_tasks
|
if type bundled_rake &> /dev/null && type _rake_command &> /dev/null; then
|
||||||
|
_rake_command --silent --tasks | cut -d " " -f 2 > .rake_tasks
|
||||||
|
else
|
||||||
|
command rake --silent --tasks | cut -d " " -f 2 > .rake_tasks
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_rake () {
|
_rake () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue