Yes, I have already installed nvm through the shell command from the readme file
What steps did you perform?
Use the function load_nvm for the fish shell
What happened?
When I navigate between my folders through shell the function load_nvm for the fish shell is invoked, so this function doesn't work correctly when using the following command nvm version because the alias is returned instead of the real version (for example v14.19.0) this provokes that each update in $PWD the nvm use default it's called
What did you expect to happen?
The load_nvm function evaluates correctly the current version
The proposed solution that works for me
# On ~/.config/fish/functions/load_nvm.fish
set -l node_version (nvm version (nvm current))
Is there anything in any of your profile files that modifies the PATH?
If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?
Operating system and version:
macOS Ventura 13.1
nvm debug
output:nvm ls
output:How did you install
nvm
?Yes, I have already installed nvm through the shell command from the readme file
What steps did you perform?
Use the function
load_nvm
for the fish shellWhat happened?
When I navigate between my folders through shell the function
load_nvm
for the fish shell is invoked, so this function doesn't work correctly when using the following commandnvm version
because the alias is returned instead of the real version (for example v14.19.0) this provokes that each update in$PWD
thenvm use default
it's calledWhat did you expect to happen?
The
load_nvm
function evaluates correctly the current versionThe proposed solution that works for me
Is there anything in any of your profile files that modifies the
PATH
?If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?