summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-10-12 18:54:28 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commitea7a00e99c40131465338ca49bde511486bbae4e (patch)
tree5f90c84330e2594dc467f549ebbc09c57c3ca1e8 /.zshrc
parentde1fc0600d6b67fb920f737406a31a424df05da7 (diff)
[zshrc] add rust
Diffstat (limited to '.zshrc')
-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)"