[ZSH] Reload zsh on dotfiles update

This commit is contained in:
Fabian Ising
2025-12-31 13:18:07 +01:00
parent 002bbfc33e
commit f9ea8e8f0c

View File

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