From 21ba7d2a81c832a991567124c51ac9881f945031 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 25 Feb 2025 01:20:03 +0900 Subject: [PATCH] updated zsh_pokemon.sh --- install-scripts/zsh_pokemon.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install-scripts/zsh_pokemon.sh b/install-scripts/zsh_pokemon.sh index 4d383fc..92a73c5 100755 --- a/install-scripts/zsh_pokemon.sh +++ b/install-scripts/zsh_pokemon.sh @@ -27,12 +27,11 @@ fi # Check if ~/.zshrc exists if [ -f "$HOME/.zshrc" ]; then - sed -i '/#pokemon-colorscripts --no-title -s -r | fastfetch -c $HOME\/.config\/fastfetch\/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo -/s/^#//' "$HOME/.zshrc" >> "$LOG" 2>&1 - sed -i '/^fastfetch -c $HOME\/.config\/fastfetch\/config-compact.jsonc/s/^/#/' "$HOME/.zshrc" >> "$LOG" 2>&1 + sed -i "/#pokemon-colorscripts --no-title -s -r | fastfetch -c $HOME\/.config\/fastfetch\/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo -/s/^#//" "$HOME/.zshrc" >> "$LOG" 2>&1 + sed -i "/^fastfetch -c $HOME\/.config\/fastfetch\/config-compact.jsonc/s/^/#/" "$HOME/.zshrc" >> "$LOG" 2>&1 else echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1 -fi - +fi printf "\n%.0s" {1..2}