From 8f9185b8f737363ad0c7cbd26c0688f19cd115be Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Wed, 15 Oct 2025 17:25:23 +0800 Subject: [PATCH] [U] Better update --- scripts/includes/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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