From 53e96c5854a09c55d88ea8a71ab61f807105fdd1 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 23 Aug 2022 10:55:04 +0200 Subject: [PATCH] Automatically create ZSH_CACHE folder --- home/.config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index 7e53e60..325a76a 100755 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -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