Move local paths to variables.

Bugfix.

Fix cache dir.
This commit is contained in:
Bartek Stalewski 2024-03-30 00:51:39 +01:00
parent af1740df8d
commit c34e5806c2
No known key found for this signature in database
3 changed files with 28 additions and 25 deletions

View file

@ -1,5 +1,5 @@
skip_global_compinit=1
export XDG_CACHE_HOME=$HOME/.cache
export XDG_CACHE_HOME=/tmp/${USER}-cache
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export XDG_STATE_HOME=$HOME/.local/state
@ -9,4 +9,3 @@ export HISTFILE=$XDG_DATA_HOME/zsh/history
# if test -z "$XDG_RUNTIME_DIR"; then
# export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
# fi