[ZSH] Fix autopull

This commit is contained in:
murgi
2025-08-05 12:44:21 +02:00
parent d67e725497
commit fe309df985

View File

@@ -21,10 +21,9 @@ 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
}