diff --git a/shell/rust.sh b/shell/rust.sh index 99d56ac..25b4afe 100644 --- a/shell/rust.sh +++ b/shell/rust.sh @@ -6,3 +6,10 @@ if [ -d "$HOME/.cargo/bin" ]; then path_prepend "$HOME/.cargo/bin" fi + +install_rust_global_packages() { + rustup component add rustfmt-preview + rustup component add rust-src + cargo +nightly install --force clippy + cargo install --force racer +}