summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 969feb3..45fa9fb 100644
--- a/.zshrc
+++ b/.zshrc
@@ -33,6 +33,12 @@ alias nnn="nnn -a -A -d -D -i -U"
# nix
alias nix-shell="nix-shell --run \$SHELL"
+# rust
+export RUST_DATA=~/.local/share/rust
+export RUSTUP_HOME=$RUST_DATA/rustup
+export CARGO_HOME=$RUST_DATA/cargo
+source $CARGO_HOME/env
+
export PATH=$PATH:~/.local/bin
eval "$(starship init zsh)"