From 859eff75c45a2fda11d8af0c31b5b27b9bfcce8a Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 1 Feb 2024 20:54:52 +0100 Subject: zsh: Add export for CARGO_TARGET_DIR Set CARGO_TARGET_DIR to target a .cache directory, so that it is shared amongst projects and can be cleaned up centrally. Signed-off-by: David Runge --- .config/zsh/includes/export.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/zsh/includes/export.zsh b/.config/zsh/includes/export.zsh index 11f03e6..5f3d5bf 100644 --- a/.config/zsh/includes/export.zsh +++ b/.config/zsh/includes/export.zsh @@ -29,6 +29,9 @@ elif [ "${available_locale#*en_US.UTF-8}" != "$available_locale" ]; then export LC_CTYPE="en_US.UTF-8" fi +# cargo +export CARGO_TARGET_DIR="$HOME/.cache/cargo_target_dir/" + # keyboard exports for sway export XKB_DEFAULT_LAYOUT=de -- cgit v1.2.3-70-g09d2