mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-09-23 00:00:08 +08:00
Update readme and comment
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# Implemented by Tim Caswell <tim@creationix.com>
|
||||
# with much bash help from Matthew Ranney
|
||||
|
||||
# Auto detect the NVM_DIR using magic bash 3.x stuff
|
||||
# Auto detect the NVM_DIR
|
||||
if [ ! -d "$NVM_DIR" ]; then
|
||||
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}); pwd)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user