Major revamp of shell init - drop bash support, focus on zsh

This commit is contained in:
2018-07-20 00:46:33 +01:00
parent 582a97c7af
commit a53788f5c4
39 changed files with 210 additions and 649 deletions

15
zsh/rust.zsh Normal file
View 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
}