From 556e6b2f5045dc0bec486915e9dd3321f9ebeb46 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 27 Mar 2025 12:38:00 +0100 Subject: [PATCH] changed gsu function --- .zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 19b8b73..a05f83c 100644 --- a/.zshrc +++ b/.zshrc @@ -354,11 +354,11 @@ __alias__() { alias gcm="git commit -m" alias gpu="git push --recurse-submodule=on-demand" gsu() { - echo "${YELLOW}${BOLD}| git submodule update --init --recursive |${NC}" + echo "${CYAN}Updating submodules recursively with -> ${YELLOW}${BOLD}git submodule update --init --recursive${NC}" git submodule update --init --recursive && - echo "${CYAN}${BOLD}-- updated submodules recursively${NC}" + echo "${CYAN}${BOLD}-- Updated submodules recursively --${NC}" - echo "${YELLOW}${BOLD}-- Checking submodule branches... --${NC}" + echo "${CYAN}${BOLD}-- Checking submodule branches... --${NC}" git submodule foreach ' branch=$(git symbolic-ref --short HEAD 2>/dev/null || echo "detached") if [ "$branch" = "detached" ]; then @@ -370,7 +370,7 @@ __alias__() { fi ' - echo "${YELLOW}${BOLD}git submodule foreach git pull --recurse-submodule${NC}" + echo "${CYAN}Pulling down updates recursively with -> ${YELLOW}${BOLD}git submodule foreach git pull --recurse-submodule${NC}" git submodule foreach git pull --recurse-submodule && echo "${GREEN}${BOLD}-- pulled down submodules recursively --${NC}"