summary refs log tree commit diff
path: root/dot_zshenv
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-23 23:41:59 +0400
committerAlen <alen@dotfiles.xyz>2023-09-23 23:41:59 +0400
commite73d487c6e9b3dacbf18a979f593c1c20539e459 (patch)
tree9b454568ad7bf29b72ac0ba9357c225fd3476cb1 /dot_zshenv
parent94d6fa3758033e2834ba2844bd06827adf454959 (diff)
Move $ZDOTDIR to ~/.config/zsh
Diffstat (limited to 'dot_zshenv')
-rw-r--r--dot_zshenv3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_zshenv b/dot_zshenv
index 4cae70b..2983e2a 100644
--- a/dot_zshenv
+++ b/dot_zshenv
@@ -41,6 +41,9 @@ export LC_ALL=en_US.UTF-8
 export LESS="--RAW-CONTROL-CHARS --chop-long-lines --mouse"
 export PAGER="less"
 
+# Move zsh dot files to config dir
+export ZDOTDIR="${XDG_CONFIG_HOME:-${HOME}/.config}/zsh"
+
 # Add ~/.local paths to {,MAN,INFO}PATH and fpath
 export PATH="${HOME}/.local/bin${PATH:+:${PATH}}"
 export MANPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/man${MANPATH:+:${MANPATH}}"