mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Change echo to printf in applications-setup (#485)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com> Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
a32f566325
commit
f4eddd551d
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user