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() {