zsh: add /etc/zsh config files for easier unpacking

This commit is contained in:
Eric Torres
2024-08-24 12:09:27 -07:00
parent d4ac99315c
commit 5b53186ad5
2 changed files with 32 additions and 0 deletions

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