Замена wget на curl
This commit is contained in:
@@ -10,7 +10,7 @@ ZINIT[ZCOMPDUMP_PATH]="$ZSH_CACHE_DIR/zcompdump"
|
||||
ZPFX="$ZSH_CACHE_DIR/polaris"
|
||||
|
||||
if [ ! -d "${ZINIT[HOME_DIR]}" ]; then
|
||||
wget -q -O - "https://github.com/zdharma-continuum/zinit/archive/refs/tags/v${ZINIT[VERSION]}.tar.gz" | tar zxf - -C "$ZSH_CACHE_DIR"
|
||||
curl -sL "https://github.com/zdharma-continuum/zinit/archive/refs/tags/v${ZINIT[VERSION]}.tar.gz" | tar zxf - -C "$ZSH_CACHE_DIR"
|
||||
sed -i 's/.*zinit-self-update -q//' "${ZINIT[HOME_DIR]}/zinit-autoload.zsh"
|
||||
zcompile "${ZINIT[HOME_DIR]}/zinit.zsh"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user