We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shwordsplit
downloader()
1 parent a027d95 commit 39bc0c9Copy full SHA for 39bc0c9
rustup-init.sh
@@ -19,11 +19,6 @@ has_local() {
19
20
has_local 2>/dev/null || alias local=typeset
21
22
-# zsh does not split words by default, Required for curl retry arguments below.
23
-if [ -n "$ZSH_VERSION" ]; then
24
- setopt shwordsplit
25
-fi
26
-
27
set -u
28
29
# If RUSTUP_UPDATE_ROOT is unset or empty, default it.
@@ -575,6 +570,11 @@ ignore() {
575
570
# This wraps curl or wget. Try curl first, if not installed,
576
571
# use wget instead.
577
572
downloader() {
573
+ # zsh does not split words by default, Required for curl retry arguments below.
574
+ if [ -n "$ZSH_VERSION" ]; then
+ setopt local_options shwordsplit
+ fi
+
578
local _dld
579
local _ciphersuites
580
local _err
0 commit comments