mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-17 11:03:44 +00:00
Merge 510d152ee5678cbff4a3f0f55b9ed2ad699b7c55 into ff1257e8e3059ae01928c4261a41de2260bcd968
This commit is contained in:
commit
fd79c18268
@ -644,7 +644,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