From ea7a00e99c40131465338ca49bde511486bbae4e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 12 Oct 2023 18:54:28 +0200 Subject: [zshrc] add rust --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.zshrc') 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)" -- cgit v1.2.3