improve commit 9c5f319598
This commit is contained in:
parent
0ac6936101
commit
f7d08e99c2
|
@ -32,15 +32,6 @@ nvim +'PlugInstall' +'q' +'q'
|
|||
nvim +'checkhealth telescope' +'q' +'q'
|
||||
|
||||
|
||||
################################################################################
|
||||
# Rust
|
||||
################################################################################
|
||||
|
||||
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs -o rust.sh
|
||||
bash rust.sh
|
||||
rm rust.sh
|
||||
|
||||
|
||||
################################################################################
|
||||
# PARU
|
||||
################################################################################
|
||||
|
|
|
@ -126,6 +126,12 @@ function git_repo_check()
|
|||
doas pacman --sync --refresh --refresh --sysupgrade
|
||||
|
||||
# rust-lang
|
||||
if ! command -v rustup > /dev/null; then
|
||||
pushd /tmp
|
||||
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs -o rust.sh
|
||||
bash rust.sh
|
||||
popd
|
||||
fi
|
||||
rustup default stable
|
||||
rustup update stable
|
||||
rustup component add rust-src rust-analyzer rust-analysis
|
||||
|
|
Loading…
Reference in New Issue