mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-01-16 07:03:12 +08:00
SOURCE_STR currently includes the value of $HOME (at install time). Change SOURCE_STR to include a literal "$HOME" (to be expanded at profile runtime) so that sourcing nvm will work if the user changes their username, shares their profile, et cetera. Also use the more portable single-square-bracket test.
1.5 KiB
Executable File
1.5 KiB
Executable File