Add some more curl → wget argument munging
parent
b9383c9016
commit
eda8ffbcc4
|
@ -19,8 +19,11 @@ elif nvm_has "wget"; then
|
|||
# Emulate curl with wget
|
||||
nvm_curl() {
|
||||
ARGS="$* "
|
||||
ARGS=${ARGS/--progress-bar /}
|
||||
ARGS=${ARGS/-L /}
|
||||
ARGS=${ARGS/-s /-q }
|
||||
ARGS=${ARGS/-o /-O }
|
||||
ARGS=${ARGS/-C /-c }
|
||||
wget "$ARGS"
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue