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

8 lines
175 B
Fish
Raw Normal View History

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