Install script does not add the source line to .zshrc when using zsh #1879
Labels
installing nvm: profile detection
Issues with nvm's own install script, related to figuring out the right profile file.
shell: zsh
Ubuntu 16.04.2 LTS
nvm debug
output:nvm ls
output:nvm
?install script in readme
Installed via script, that's it.
When I open a new session I got
zsh: command not found: nvm
. I figured the source line was not added to .zshrc file even though the readme file suggests that it should. I added the source line and it worked. (I added the source line to .profile file, which I use for common directives for both shells. Both .zshrc and .bashrc source this file)The lines:
Should have been added to .zshrc after running the script, instead they were added to .bashrc although my default shell is zsh
.bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
?Well, many, but here's my $PATH right now:
/home/mufa/.nvm/versions/node/v10.8.0/bin:/home/mufa/bin:/home/mufa/.local/bin:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
The text was updated successfully, but these errors were encountered: