refactor(install): remove all unicode symbols and box-drawing characters for clean terminal compatibility

This commit is contained in:
2026-09-09 07:52:54 +02:00
parent a22dd720c8
commit 98179f5c37
+24 -26
View File
@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Dotfiles Installation Script - Cross-Platform # Dotfiles Installation Script - Cross-Platform
# Optimiert für Fish + Ghostty + Neovim Scratch Setup # Optimiert fuer Fish + Ghostty + Neovim Scratch Setup
set -e # Exit on error set -e # Exit on error
@@ -130,11 +130,10 @@ install_cask() {
} }
header() { header() {
echo -e "${BLUE} echo -e "${BLUE}"
╔════════════════════════════════════╗ echo "QA Engineer Dev Setup"
║ QA Engineer Dev Setup ║ echo "TypeScript/Playwright + Go"
║ TypeScript/Playwright + Go ║ echo -e "${NC}"
╚════════════════════════════════════╝${NC}"
} }
check_prerequisites() { check_prerequisites() {
@@ -399,7 +398,7 @@ setup_other_configs() {
[ -d "$DOTFILES_DIR/.config/btop/themes" ] && ln -sf "$DOTFILES_DIR/.config/btop/themes" ~/.config/btop/themes [ -d "$DOTFILES_DIR/.config/btop/themes" ] && ln -sf "$DOTFILES_DIR/.config/btop/themes" ~/.config/btop/themes
fi fi
# Htop (fallback wenn btop abstürzt) # Htop (fallback wenn btop abstuerzt)
if [ -d "$DOTFILES_DIR/.config/htop" ]; then if [ -d "$DOTFILES_DIR/.config/htop" ]; then
mkdir -p ~/.config/htop mkdir -p ~/.config/htop
ln -sf "$DOTFILES_DIR/.config/htop/htoprc" ~/.config/htop/htoprc ln -sf "$DOTFILES_DIR/.config/htop/htoprc" ~/.config/htop/htoprc
@@ -475,7 +474,7 @@ install_optional_ai_tools() {
log "Google Antigravity CLI (agy) is already installed." log "Google Antigravity CLI (agy) is already installed."
fi fi
echo -e "\n${YELLOW}=== Optional AI CLI Tools ===${NC}" echo -e "\n${YELLOW}Optional AI CLI Tools:${NC}"
# 1. Claude Code # 1. Claude Code
if prompt_yes_no "Do you want to install Claude Code (@anthropic-ai/claude-code)?"; then if prompt_yes_no "Do you want to install Claude Code (@anthropic-ai/claude-code)?"; then
@@ -568,24 +567,23 @@ main() {
install_playwright install_playwright
install_optional_ai_tools install_optional_ai_tools
echo -e "${GREEN} echo -e "${GREEN}"
╔══════════════════════════════════════════════════════════╗ echo "Setup Complete!"
║ Setup Complete! ║ echo ""
║ ║ echo " [OK] $OS detected"
║ ✓ $OS detected ║ echo " [OK] Fish shell configured"
║ ✓ Fish shell configured ║ echo " [OK] Neovim (Scratch) configured"
║ ✓ Neovim (Scratch) configured ║ echo " [OK] Ghostty terminal configured"
║ ✓ Ghostty terminal configured ║ echo " [OK] Development tools installed"
║ ✓ Development tools installed ║ echo " [OK] Dotfiles symlinked"
║ ✓ Dotfiles symlinked ║ echo ""
║ ║ echo "Next steps:"
║ Next steps: ║ echo "1. Restart your terminal"
║ 1. Restart your terminal ║ echo "2. Run 'nvim' to install plugins"
║ 2. Run 'nvim' to install plugins ║ echo "3. Enjoy your setup!"
║ 3. Enjoy your setup! ║ echo ""
║ ║ echo "Backup: $BACKUP_DIR"
║ Backup: $BACKUP_DIR echo -e "${NC}"
╚══════════════════════════════════════════════════════════╝${NC}"
} }
main "$@" main "$@"