[ZSH] Reload zsh on dotfiles update
This commit is contained in:
@@ -29,7 +29,7 @@ update_dotfiles() {
|
||||
cd ~/dotfiles || return
|
||||
if git fetch --dry-run 2>&1 | grep -q .; then
|
||||
git pull > /dev/null 2>&1
|
||||
echo "Updating ($$)" >> /tmp/zsh.log
|
||||
echo "Updating ($$)." >> /tmp/zsh.log
|
||||
DOTFILES_UPDATED=1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user