[ZSH] Reload zsh on dotfiles update

This commit is contained in:
Fabian Ising
2025-12-31 13:16:13 +01:00
parent 02e434f0b2
commit 002bbfc33e

View File

@@ -44,8 +44,10 @@ fi
# If the dotfiles were updated, we are sourcing this file again
if [ "$DOTFILES_UPDATED" -eq 1 ]; then
echo "Reloading!"
source .zshrc
else
echo "Actual run!"
# Load Antidote
mkdir -p ${ZDOTDIR:-~}/.cache/zsh
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh