mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-18 11:14:21 +08:00
[meta] update repo links to point to org
This commit is contained in:
2
nvm.sh
2
nvm.sh
@@ -646,7 +646,7 @@ nvm_change_path() {
|
||||
# if the initial path contains BOTH an nvm path (checked for above) and
|
||||
# that nvm path is preceded by a system binary path, just prepend the
|
||||
# supplementary path instead of replacing it.
|
||||
# https://github.com/creationix/nvm/issues/1652#issuecomment-342571223
|
||||
# https://github.com/nvm-sh/nvm/issues/1652#issuecomment-342571223
|
||||
elif nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/[^/]*${2-}" \
|
||||
|| nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then
|
||||
nvm_echo "${3-}${2-}:${1-}"
|
||||
|
||||
Reference in New Issue
Block a user