dotfiles/dot_config/fish/conf.d/30-ruby.fish

10 lines
218 B
Fish
Raw Normal View History

#!/usr/bin/env fish
if command -v rvm &>/dev/null
if status --is-interactive
rvm use 3 &>/dev/null
end
else if test -e /opt/homebrew/opt/ruby/bin/ruby
fish_add_path /opt/homebrew/opt/ruby/bin/
end