mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-19 20:13:44 +00:00
Merge 510d152ee5678cbff4a3f0f55b9ed2ad699b7c55 into 6b70c40f151ca051d403453bf019e1707b33bd5b
This commit is contained in:
commit
6718e17471
@ -646,7 +646,7 @@ cdnvm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
alias cd='cdnvm'
|
alias cd='cdnvm'
|
||||||
cdnvm "$PWD" || exit
|
|
||||||
```
|
```
|
||||||
|
|
||||||
This alias would search 'up' from your current directory in order to detect a `.nvmrc` file. If it finds it, it will switch to that version; if not, it will use the default version.
|
This alias would search 'up' from your current directory in order to detect a `.nvmrc` file. If it finds it, it will switch to that version; if not, it will use the default version.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user