mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
check for ruby-version or ruby-gemset, rvmrc is depreciated
This commit is contained in:
parent
604bcf16c8
commit
6fa69bee2a
@ -12,7 +12,7 @@ function __check_rvm --on-variable PWD --description 'Setup rvm on directory cha
|
||||
end
|
||||
break
|
||||
else
|
||||
if begin ; test -s ".rvmrc" ; or test -s ".versions.conf" ; end
|
||||
if begin ; test -s ".rvmrc" ; or test -s ".ruby-version" ; or test -s ".ruby-gemset" ; or test -s ".versions.conf" ; end
|
||||
rvm reload 1>/dev/null 2>&1
|
||||
break
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user