Skip to content

Instantly share code, notes, and snippets.

@mzagaja
Created July 27, 2022 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mzagaja/c7ec73fe84fd161dfee13facb9c17e11 to your computer and use it in GitHub Desktop.
Save mzagaja/c7ec73fe84fd161dfee13facb9c17e11 to your computer and use it in GitHub Desktop.
rvm default
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
source {$HOME}/.config/fish/functions/nvm_auto_switch.fish
source {$HOME}/.config/fish/functions/rvm_auto_switch.fish
function nvm_auto_switch --on-variable PWD
if test -e '.nvmrc'
nvm use
end
end
function rvm_auto_switch --on-variable PWD
if test -e '.ruby-version'
rvm use
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment