Update dotfiles/.local/bin/install-dotfiles

This commit is contained in:
Brian Zalewski 2022-11-21 15:39:27 +00:00
parent 8723ec1333
commit ad09c768bc

View file

@ -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'