feat: better zcompdump location

This commit is contained in:
AngeD 2023-01-10 11:47:00 +01:00
parent 70f5d2993c
commit 989d8aaf9f

View File

@ -10,9 +10,12 @@ export XDG_DATA_DIRS='/usr/local/share:/usr/share'
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export ZSH="$ZDOTDIR/ohmyzsh"
export ZSH_CUSTOM="$ZDOTDIR/custom"
export HISTFILE="$XDG_STATE_HOME/zsh/history"
export HISTFILE="$XDG_STATE_HOME/zsh_history"
export ZLE_RPROMPT_INDENT=0
mkdir -p "$XDG_CACHE_HOME/zsh"
compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION"
export LESSHISTFILE='-'
export EDITOR='nvim'