diff --git a/.config/setup/22-install-rust-analyzer.sh b/.config/setup/22-install-rust-analyzer.sh index 4ad17d7..32496f3 100755 --- a/.config/setup/22-install-rust-analyzer.sh +++ b/.config/setup/22-install-rust-analyzer.sh @@ -1,5 +1,5 @@ #! /usr/bin/sh mkdir -p ~/.local/bin -curl -L https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer +curl --location https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip --to-stdout - > ~/.local/bin/rust-analyzer chmod +x ~/.local/bin/rust-analyzer