From ce9d4ca6af1483548401bdfbac43c18d6c57c695 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 1 Feb 2024 21:09:56 +0100 Subject: zsh: Add export for RUSTUP_HOME Set RUSTUP_HOME to a location in ~/.local/state/ to not pollute home. Signed-off-by: David Runge --- .config/zsh/includes/export.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/zsh/includes') diff --git a/.config/zsh/includes/export.zsh b/.config/zsh/includes/export.zsh index 5f3d5bf..3d2aa1b 100644 --- a/.config/zsh/includes/export.zsh +++ b/.config/zsh/includes/export.zsh @@ -32,6 +32,9 @@ fi # cargo export CARGO_TARGET_DIR="$HOME/.cache/cargo_target_dir/" +# rustup +export RUSTUP_HOME="$HOME/.local/state/rustup" + # keyboard exports for sway export XKB_DEFAULT_LAYOUT=de -- cgit v1.2.3-70-g09d2