Compare commits

..

2 Commits

Author SHA1 Message Date
JaKooLit
370641659f updated pokomen.sh 2025-02-25 12:01:30 +09:00
Ja.KooLit
8077f10d5c
Update .zshrc 2025-02-25 08:05:00 +09:00
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnosterzak""
ZSH_THEME="agnosterzak"
plugins=(
git

View File

@ -27,8 +27,8 @@ 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 's|^#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 -|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 -|' "$HOME/.zshrc" >> "$LOG" 2>&1
sed -i "s|^fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|#fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|" "$HOME/.zshrc" >> "$LOG" 2>&1
else
echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1
fi