|
|
|
@ -24,10 +24,8 @@ impl Shell for Fish {
@@ -24,10 +24,8 @@ impl Shell for Fish {
|
|
|
|
|
function _fnm_autoload_hook --on-variable PWD --description 'Change Node version on directory change' |
|
|
|
|
status --is-command-substitution; and return |
|
|
|
|
if test -f .node-version |
|
|
|
|
echo "fnm: Found .node-version" |
|
|
|
|
fnm use |
|
|
|
|
else if test -f .nvmrc |
|
|
|
|
echo "fnm: Found .nvmrc" |
|
|
|
|
fnm use |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|