zsh-etcfiles: move one level up

This commit is contained in:
2024-09-04 22:17:07 -07:00
parent fec031d251
commit ea05ac1087
2 changed files with 0 additions and 0 deletions

14
etc/zsh/zshenv Normal file
View File

@@ -0,0 +1,14 @@
# /etc/zsh/zshenv
# zsh environment variables
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
# Shell settings
export HISTCONTROL="ignoredups"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/zsh_history"
export HISTSIZE=20000
export SAVEHIST=20000