mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Automatically create ZSH_CACHE folder
This commit is contained in:
parent
72d363ab1b
commit
53e96c5854
|
@ -23,6 +23,7 @@ setopt auto_pushd # Make cd act as pushd
|
|||
export ZSH_CACHE="$HOME/.cache/zsh"
|
||||
export HISTFILE="$ZSH_CACHE/history"
|
||||
export ZSH_COMPDUMP="$ZSH_CACHE/zcompdump-$ZSH_VERSION"
|
||||
mkdir -p "$ZSH_CACHE"
|
||||
|
||||
# Auto-remove home clutter
|
||||
[ -f ~/.zsh-update ] && mv ~/.zsh-update $ZSH_CACHE/.zsh-update
|
||||
|
|
Loading…
Reference in a new issue