From ad09c768bc669cf124c134c7fe43166203d8d1b8 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 21 Nov 2022 15:39:27 +0000 Subject: [PATCH] Update dotfiles/.local/bin/install-dotfiles --- dotfiles/.local/bin/install-dotfiles | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dotfiles/.local/bin/install-dotfiles b/dotfiles/.local/bin/install-dotfiles index 49571cfd..ba233498 100644 --- a/dotfiles/.local/bin/install-dotfiles +++ b/dotfiles/.local/bin/install-dotfiles @@ -5,6 +5,17 @@ if ! command -v logg > /dev/null; then alias logg='true' fi +# Clear ZSH cached stuff +if [ -f "$HOME/.zshrc.zwc" ]; then + rm -f "$HOME/.zshrc.zwc" +fi +if [ -d "$HOME/.local/antigen" ]; then + rm -rf "$HOME/.local/antigen" +fi +if [ -d "$HOME/.zsh_sessions" ]; then + rm -rf "$HOME/.zsh_sessions" +fi + if [ -f '/etc/qubes-release' ]; then # Qubes dom0 logg info 'Ensuring provision VM is present'