From 2e971cbbafc14a406ca12968204ac43b3728258c Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 1 Feb 2024 21:16:12 +0100 Subject: zsh: Add export for CARGO_HOME Have CARGO_HOME point at a location in ~/.local/state to not pollute home. Signed-off-by: David Runge --- .config/zsh/includes/export.zsh | 1 + 1 file changed, 1 insertion(+) (limited to '.config/zsh') diff --git a/.config/zsh/includes/export.zsh b/.config/zsh/includes/export.zsh index 3d2aa1b..0b0c087 100644 --- a/.config/zsh/includes/export.zsh +++ b/.config/zsh/includes/export.zsh @@ -31,6 +31,7 @@ fi # cargo export CARGO_TARGET_DIR="$HOME/.cache/cargo_target_dir/" +export CARGO_HOME="$HOME/.local/state/cargo/" # rustup export RUSTUP_HOME="$HOME/.local/state/rustup" -- cgit v1.2.3-70-g09d2