From 0618f8ec4f5f249e60fc544a1e6613d4a2f39dd0 Mon Sep 17 00:00:00 2001 From: piecka Date: Tue, 25 Mar 2025 09:37:57 +0100 Subject: [PATCH] fix: --- .zshrc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.zshrc b/.zshrc index 0635500..9a07284 100644 --- a/.zshrc +++ b/.zshrc @@ -376,32 +376,28 @@ __alias__() { gUpdateModules() { if git diff --quiet .; then - echo_info "Staging changes..." + echo "${YELLOW}Staging changes...${NC}" git add . sleep 0.3 if git commit -m " update: submodules"; then - echo_info "Changes committed successfully." + echo "${CYAN}Changes committed successfully.${NC}" else - echo_error "Failed to commit changes." + echo "${RED}Failed to commit changes.${NC}" return 1 fi else - echo_info "No changes to commit." + echo "${CYAN}No changes to commit.${NC}" fi } gUpdateModules if git push; then - echo_info "Push successful." + echo "${CYAN}Push successful.${NC}" else - echo_error "Failed to push changes." + echo "${RED}Failed to push changes.${NC}" return 1 fi - - # gUpdateModules - - error_log } gwip() {