mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00
Update version auto switching for .bashrc to use proper version on opening new terminal tab
This commit is contained in:
parent
ce9e502964
commit
6dbf497000
@ -206,6 +206,7 @@ cd() {
|
||||
nvm use default
|
||||
fi
|
||||
}
|
||||
cd .
|
||||
```
|
||||
|
||||
Note for [`rvm`](https://github.com/rvm/rvm) users: rvm overrides builtin `cd` function so code should be a bit
|
||||
@ -221,6 +222,7 @@ cd() {
|
||||
nvm use default
|
||||
fi
|
||||
}
|
||||
cd .
|
||||
```
|
||||
|
||||
## License
|
||||
|
Loading…
Reference in New Issue
Block a user