This commit is contained in:
Hasham
2024-10-07 20:12:51 +05:30
committed by GitHub

View File

@@ -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.