mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Revert "JShell07's local pull request"
This commit is contained in:
parent
43922c02f9
commit
663b3b4691
97 changed files with 709 additions and 2226 deletions
|
|
@ -1,7 +1,5 @@
|
|||
function _rails_command () {
|
||||
if [ -e "bin/stubs/rails" ]; then
|
||||
bin/stubs/rails $@
|
||||
elif [ -e "bin/rails" ]; then
|
||||
if [ -e "bin/rails" ]; then
|
||||
bin/rails $@
|
||||
elif [ -e "script/rails" ]; then
|
||||
ruby script/rails $@
|
||||
|
|
@ -13,9 +11,7 @@ function _rails_command () {
|
|||
}
|
||||
|
||||
function _rake_command () {
|
||||
if [ -e "bin/stubs/rake" ]; then
|
||||
bin/stubs/rake $@
|
||||
elif [ -e "bin/rake" ]; then
|
||||
if [ -e "bin/rake" ]; then
|
||||
bin/rake $@
|
||||
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
|
||||
bundle exec rake $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue