mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
change $HOME to $NVM_DIR in readme. Remove unncessary comments in script
This commit is contained in:
parent
452fbd5162
commit
4be76df03d
@ -109,7 +109,7 @@ Add `<prefix>/bin` and `<prefix>/current/bin` to your PATH and use nvm transpara
|
|||||||
|
|
||||||
Where nvm is installed at `~/.nvm`
|
Where nvm is installed at `~/.nvm`
|
||||||
|
|
||||||
set -x fish_user_paths $PATH $HOME/.nvm/current/bin $HOME/.nvm/bin
|
set -x fish_user_paths $PATH $NVM_DIR/current/bin $NVM_DIR/bin
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
3
bin/nvm
3
bin/nvm
@ -1,8 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# For non bash-shells (fish, etc)
|
|
||||||
# add <prefix>/nvm/bin and <prefix>/nvm/current/bin to PATH
|
|
||||||
|
|
||||||
export NVM_SYMLINK_CURRENT=true
|
export NVM_SYMLINK_CURRENT=true
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
Loading…
Reference in New Issue
Block a user