[Fix] exec: -- should stop argument parsing

Co-authored-by: Vesa Vilhonen <vesa@vilhonen.com>
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
This commit is contained in:
Vesa VilhonenandSladyn Nunes authored and Jordan Harband committed 2020-11-20 13:06:28 +02:00
1 parent 4fdef427e4
commit 52f67b3677
2 files changed
+10

No files matched your search

+1
View File
@@ -2612,6 +2612,7 @@ nvm() {
for i in "$@"
do
case $i in
--) break ;;
'-h'|'help'|'--help')
NVM_NO_COLORS=""
for j in "$@"; do