chore: Updated install to include ai chat theme
c7b4e222
1 file(s) · +21 −0
| 193 | 193 | local files=( |
|
| 194 | 194 | ".zshrc" |
|
| 195 | 195 | "config" |
|
| 196 | + | "dark.tmTheme" |
|
| 196 | 197 | ) |
|
| 197 | 198 | ||
| 198 | 199 | local success_count=0 |
|
| 487 | 488 | fi |
|
| 488 | 489 | else |
|
| 489 | 490 | print_error "Ghostty config not found in downloaded files: $TEMP_DIR/config" |
|
| 491 | + | ((install_errors++)) |
|
| 492 | + | fi |
|
| 493 | + | ||
| 494 | + | # Install aichat theme |
|
| 495 | + | if [ -f "$TEMP_DIR/dark.tmTheme" ]; then |
|
| 496 | + | print_debug "Installing aichat theme to $HOME/Library/Application Support/aichat/" |
|
| 497 | + | mkdir -p "$HOME/Library/Application Support/aichat" |
|
| 498 | + | ||
| 499 | + | if [ -f "$HOME/Library/Application Support/aichat/dark.tmTheme" ]; then |
|
| 500 | + | print_status "Existing aichat theme found, it will be replaced" |
|
| 501 | + | fi |
|
| 502 | + | ||
| 503 | + | if cp "$TEMP_DIR/dark.tmTheme" "$HOME/Library/Application Support/aichat/"; then |
|
| 504 | + | print_success "Installed aichat theme" |
|
| 505 | + | else |
|
| 506 | + | print_error "Failed to install aichat theme" |
|
| 507 | + | ((install_errors++)) |
|
| 508 | + | fi |
|
| 509 | + | else |
|
| 510 | + | print_error "aichat theme not found in downloaded files: $TEMP_DIR/dark.tmTheme" |
|
| 490 | 511 | ((install_errors++)) |
|
| 491 | 512 | fi |
|
| 492 | 513 | ||