mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
[Tag]: removing cdnvm command in readme for bashrc file
There is an uncessary `cdnvm "$PWD" || exit` taking place and not all the systems that have bash come with it, so its uncessary
This commit is contained in:
parent
4bdd57ba0f
commit
510d152ee5
@ -626,7 +626,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…
Reference in New Issue
Block a user