aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh/includes
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2024-02-01 21:16:12 +0100
committerDavid Runge <dave@sleepmap.de>2024-02-01 21:16:12 +0100
commit2e971cbbafc14a406ca12968204ac43b3728258c (patch)
tree8276ecdfa69150bc23687431550743f693019f66 /.config/zsh/includes
parentce9d4ca6af1483548401bdfbac43c18d6c57c695 (diff)
downloaddotfiles-2e971cbbafc14a406ca12968204ac43b3728258c.tar.gz
dotfiles-2e971cbbafc14a406ca12968204ac43b3728258c.tar.bz2
dotfiles-2e971cbbafc14a406ca12968204ac43b3728258c.tar.xz
dotfiles-2e971cbbafc14a406ca12968204ac43b3728258c.zip
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 <dave@sleepmap.de>
Diffstat (limited to '.config/zsh/includes')
-rw-r--r--.config/zsh/includes/export.zsh1
1 files changed, 1 insertions, 0 deletions
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"