diff --git a/scripts/includes/update.sh b/scripts/includes/update.sh index df81b4b..1e1020f 100644 --- a/scripts/includes/update.sh +++ b/scripts/includes/update.sh @@ -11,7 +11,7 @@ if [[ "${reslog}" != "" ]] ; then color "$prefix &cYour zshrc is outdated. Automatically updating..." # Try to pull - if git pull; then + if git stash & git pull & git stash pop; then . $SCR/zshrc.sh color "$prefix &aUpdated!" else