diff --git a/zsh/.zshrc b/zsh/.zshrc index e0a2e64..6d64eb7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -21,7 +21,7 @@ fi update_dotfiles() { cd ~/dotfiles || return - if git fetch --dry-run 2>/dev/null | grep -q .; then + if git fetch --dry-run 2>&1 | grep -q .; then git pull > /dev/null 2>&1 fi }