Files
dotfiles/zsh/rust.zsh
Jim Myhrberg 80c77c8c2b Refactor shell setup into ~/.zshenv and ~/.zshrc files
It was time to split the environment related stuff out to ~/.zshenv,
leaving my ~/.zshrc file specifically for setup of interactive shells.
2020-02-22 14:27:19 +00:00

15 lines
181 B
Bash

#
# Rust environment setup.
#
install_rust_global_packages() {
local packages=(
rls
rust-analysis
rust-src
rustfmt
)
rustup component add "${packages[@]}"
}