mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:26:42 +00:00
It was time to split the environment related stuff out to ~/.zshenv, leaving my ~/.zshrc file specifically for setup of interactive shells.
15 lines
181 B
Bash
15 lines
181 B
Bash
#
|
|
# Rust environment setup.
|
|
#
|
|
|
|
install_rust_global_packages() {
|
|
local packages=(
|
|
rls
|
|
rust-analysis
|
|
rust-src
|
|
rustfmt
|
|
)
|
|
|
|
rustup component add "${packages[@]}"
|
|
}
|