[ZSH] Reload zsh on dotfiles update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user