mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Major revamp of shell init - drop bash support, focus on zsh
This commit is contained in:
15
zsh/rust.zsh
Normal file
15
zsh/rust.zsh
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Rust environment setup.
|
||||
#
|
||||
|
||||
# Rustup
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user