From d6495817787ba77cd637ec0a68a269661d6077bd Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 13 Jun 2021 23:36:02 +0200 Subject: [PATCH] Auto creating of ~/.cache. --- install.sh | 3 +-- zsh/.zshrc | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index e944c44..47e05fe 100644 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ git clone --recurse https://git.insomniac.pl/ftpd/dotfiles ~/.local/repos/dotfil # clean + prepare local dirs rm -rf ~/.cache ~/.config/_cache ~/.config/vim ~/.config/zsh rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh* -mkdir -p ~/.config ~/.local/settings +mkdir -p ~/.cache/ ~/.config ~/.local/settings ## neovim rm -rf ~/.config/nvim @@ -37,7 +37,6 @@ case $(uname -s) in esac echo "export XDG_CONFIG_HOME=$HOME/.config" >> $HOME/.zshenv echo "export ZDOTDIR=$HOME/.config/zsh" >> $HOME/.zshenv -rm -rf ~/.bash* ~/.profile rm -rf ~/.config/zsh ln -sf ~/.local/repos/dotfiles/zsh ~/.config/ touch ~/.local/settings/zsh diff --git a/zsh/.zshrc b/zsh/.zshrc index e0c4a29..f0513ed 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,6 +13,7 @@ setopt SHARE_HISTORY export LESSHISTFILE='/dev/null' mkdir -p $XDG_DATA_HOME/zsh +mkdir -p $XDG_CACHE_HOME/zsh zstyle ':completion:*' menu select zstyle ':completion:*' list-colors ''