Set ZDOTDIR in ~/.zshenv

This commit is contained in:
tastytea 2022-03-26 18:19:25 +01:00
parent f70d5de54d
commit b91611f771
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
3 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ function() # Keep local variables in here.
############################## Paths ###########################################
export PATH="${HOME}/bin:${HOME}/.local/bin:${PATH}"
export ZDOTDIR="${XDG_CONFIG_HOME:-${HOME}/.config}/zsh"
export HISTFILE="${ZDOTDIR}/.zsh_history"
export ZSH_CACHE_DIR="${XDG_CACHE_HOME:-${HOME}/.cache}/zsh"
mkdir -p "${ZSH_CACHE_DIR}"

View File

@ -1 +0,0 @@
.config/zsh/.zprofile

1
.zshenv Normal file
View File

@ -0,0 +1 @@
export ZDOTDIR="${XDG_CONFIG_HOME:-${HOME}/.config}/zsh"