Skip to content

Instantly share code, notes, and snippets.

@mzagaja
Created July 27, 2022 22:31
Embed
What would you like to do?
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