aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2024-02-01 20:54:52 +0100
committerDavid Runge <dave@sleepmap.de>2024-02-01 20:54:52 +0100
commit859eff75c45a2fda11d8af0c31b5b27b9bfcce8a (patch)
treee28c2543320c9619bd9467714c921c03233c6054
parent1854b6e88fda5e1433c6f6a0a1f40f5ea0632067 (diff)
downloaddotfiles-859eff75c45a2fda11d8af0c31b5b27b9bfcce8a.tar.gz
dotfiles-859eff75c45a2fda11d8af0c31b5b27b9bfcce8a.tar.bz2
dotfiles-859eff75c45a2fda11d8af0c31b5b27b9bfcce8a.tar.xz
dotfiles-859eff75c45a2fda11d8af0c31b5b27b9bfcce8a.zip
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 <dave@sleepmap.de>
-rw-r--r--.config/zsh/includes/export.zsh3
1 files changed, 3 insertions, 0 deletions
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