From b94f154f3134774f963cb2119768f148db6091ec Mon Sep 17 00:00:00 2001 From: nnyyxxxx Date: Wed, 18 Sep 2024 16:57:34 -0400 Subject: [PATCH] Change echo to printf in applications-setup --- tabs/applications-setup/dwmtitus-setup.sh | 2 +- tabs/applications-setup/zsh-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/applications-setup/dwmtitus-setup.sh b/tabs/applications-setup/dwmtitus-setup.sh index 9ae234455..a59316795 100755 --- a/tabs/applications-setup/dwmtitus-setup.sh +++ b/tabs/applications-setup/dwmtitus-setup.sh @@ -271,7 +271,7 @@ install_slstatus() { read -r response # -r flag to prevent backslashes from being interpreted if [ "$response" = "y" ] || [ "$response" = "Y" ]; then printf "%b\n" "${YELLOW}Installing slstatus${RC}" - cd "$HOME/dwm-titus/slstatus" || { echo "Failed to change directory to slstatus"; return 1; } + cd "$HOME/dwm-titus/slstatus" || { printf "%b\n" "${RED}Failed to change directory to slstatus${RC}"; return 1; } if $ESCALATION_TOOL make clean install; then printf "%b\n" "${GREEN}slstatus installed successfully${RC}" else diff --git a/tabs/applications-setup/zsh-setup.sh b/tabs/applications-setup/zsh-setup.sh index 626099db9..3abe221d5 100644 --- a/tabs/applications-setup/zsh-setup.sh +++ b/tabs/applications-setup/zsh-setup.sh @@ -21,7 +21,7 @@ installZsh() { # Function to setup zsh configuration setupZshConfig() { - echo "Setting up Zsh configuration..." + printf "%b\n" "${YELLOW}Setting up Zsh configuration...${RC}" CONFIG_DIR="$HOME/.config/zsh" ZSHRC_FILE="$CONFIG_DIR/.zshrc"