mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-27 20:21:36 +00:00
add /.nvm to NVM_DIR so we dont clutter up home directories
This commit is contained in:
2
nvm.sh
2
nvm.sh
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# Auto detect the NVM_DIR
|
# Auto detect the NVM_DIR
|
||||||
if [ ! -d "$NVM_DIR" ]; then
|
if [ ! -d "$NVM_DIR" ]; then
|
||||||
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}) && pwd)
|
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}) && pwd)'/.nvm'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make zsh glob matching behave same as bash
|
# Make zsh glob matching behave same as bash
|
||||||
|
Reference in New Issue
Block a user