summaryrefslogtreecommitdiff
path: root/core/packages/install_rust.sh
diff options
context:
space:
mode:
authorSuper User <root@p.noml.ch>2026-03-23 19:16:09 +0800
committerSuper User <root@p.noml.ch>2026-03-23 19:16:09 +0800
commit1dab0d9e770466c64b6a822d30307848b710c40c (patch)
tree179c6807662c0f96ec964120ec389778999e11df /core/packages/install_rust.sh
parent9fb10a95ff4275ca2b82c18c0ed8600cd5575319 (diff)
embed keys, make scripts idempotent
Diffstat (limited to 'core/packages/install_rust.sh')
-rwxr-xr-xcore/packages/install_rust.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/packages/install_rust.sh b/core/packages/install_rust.sh
index 921a533..a0b0728 100755
--- a/core/packages/install_rust.sh
+++ b/core/packages/install_rust.sh
@@ -2,6 +2,6 @@
2 2
3# Install Rust and Cargo tools 3# Install Rust and Cargo tools
4curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 4curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
5echo '[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"' >> ~/.bashrc 5grep -q 'cargo/env' ~/.bashrc || echo '[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"' >> ~/.bashrc
6source "$HOME/.cargo/env" 6source "$HOME/.cargo/env"
7cargo install cargo-clone-crate cargo-edit cargo-info evcxr_jupyter bacon du-dust ripgrep bandwhich 7cargo install cargo-clone-crate cargo-edit cargo-info evcxr_jupyter bacon du-dust ripgrep bandwhich