Created
July 27, 2022 22:31
-
-
Save mzagaja/c7ec73fe84fd161dfee13facb9c17e11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nvm_auto_switch --on-variable PWD | |
if test -e '.nvmrc' | |
nvm use | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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