diff --git a/Brewfile b/Brewfile index f838c98..f27a348 100644 --- a/Brewfile +++ b/Brewfile @@ -47,6 +47,7 @@ brew 'readline' brew 'reattach-to-user-namespace' brew 'redis' brew 'ruby-build' +brew 'rustup-init' brew 'shellcheck' brew 'skopeo' brew 'sops' diff --git a/zsh/rust.zsh b/zsh/rust.zsh index 25b4afe..d8710fb 100644 --- a/zsh/rust.zsh +++ b/zsh/rust.zsh @@ -8,8 +8,9 @@ if [ -d "$HOME/.cargo/bin" ]; then fi install_rust_global_packages() { - rustup component add rustfmt-preview - rustup component add rust-src - cargo +nightly install --force clippy - cargo install --force racer + rustup component add \ + rls \ + rust-analysis \ + rust-src \ + rustfmt \ }