From fe309df9850e2fb9749d81de4f6f92dbbfe449d5 Mon Sep 17 00:00:00 2001 From: murgi Date: Tue, 5 Aug 2025 12:44:21 +0200 Subject: [PATCH] [ZSH] Fix autopull --- zsh/.zshrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index d265d83..5972733 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -21,15 +21,14 @@ fi function update_dotfiles () { cd ~/dotfiles - sleep 120 fetch=$(git fetch) if [[ -n "$fetch" ]]; then - git pull || echo "git pull of dotfiles failed, please see log." + git pull 2>& 1 > /dev/null fi } if [ $shared_config -eq 0 ]; then - update_dotfiles &| + update_dotfiles &| fi