mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Add more details on how to auto switch node version for nvm users which also use rvm
This commit is contained in:
parent
ac7e0a8dee
commit
e5bd2787ac
@ -211,7 +211,7 @@ cd .
|
|||||||
|
|
||||||
Note for [`rvm`](https://github.com/rvm/rvm) users: rvm overrides builtin `cd` function so code should be a bit
|
Note for [`rvm`](https://github.com/rvm/rvm) users: rvm overrides builtin `cd` function so code should be a bit
|
||||||
different to make `rvm` and `nvm` work both without conflicts and you should place it after `rvm` sourcing its scripts.
|
different to make `rvm` and `nvm` work both without conflicts and you should place it after `rvm` sourcing its scripts.
|
||||||
For example, on Ubuntu it should be placed into `$HOME/.bash_profile`:
|
For example, on Ubuntu it should be placed at the very bottom of `$HOME/.bash_profile`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd() {
|
cd() {
|
||||||
|
Loading…
Reference in New Issue
Block a user