mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-13 15:41: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
|
nvm use default
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
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
|
||||||
@ -221,6 +222,7 @@ cd() {
|
|||||||
nvm use default
|
nvm use default
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
cd .
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
Loading…
Reference in New Issue
Block a user