refactor(install): remove all unicode symbols and box-drawing characters for clean terminal compatibility
This commit is contained in:
+24
-26
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
|
||||
@@ -130,11 +130,10 @@ install_cask() {
|
||||
}
|
||||
|
||||
header() {
|
||||
echo -e "${BLUE}
|
||||
╔════════════════════════════════════╗
|
||||
║ QA Engineer Dev Setup ║
|
||||
║ TypeScript/Playwright + Go ║
|
||||
╚════════════════════════════════════╝${NC}"
|
||||
echo -e "${BLUE}"
|
||||
echo "QA Engineer Dev Setup"
|
||||
echo "TypeScript/Playwright + Go"
|
||||
echo -e "${NC}"
|
||||
}
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
# Htop (fallback wenn btop abstürzt)
|
||||
# Htop (fallback wenn btop abstuerzt)
|
||||
if [ -d "$DOTFILES_DIR/.config/htop" ]; then
|
||||
mkdir -p ~/.config/htop
|
||||
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."
|
||||
fi
|
||||
|
||||
echo -e "\n${YELLOW}=== Optional AI CLI Tools ===${NC}"
|
||||
echo -e "\n${YELLOW}Optional AI CLI Tools:${NC}"
|
||||
|
||||
# 1. Claude Code
|
||||
if prompt_yes_no "Do you want to install Claude Code (@anthropic-ai/claude-code)?"; then
|
||||
@@ -568,24 +567,23 @@ main() {
|
||||
install_playwright
|
||||
install_optional_ai_tools
|
||||
|
||||
echo -e "${GREEN}
|
||||
╔══════════════════════════════════════════════════════════╗
|
||||
║ Setup Complete! ║
|
||||
║ ║
|
||||
║ ✓ $OS detected ║
|
||||
║ ✓ Fish shell configured ║
|
||||
║ ✓ Neovim (Scratch) configured ║
|
||||
║ ✓ Ghostty terminal configured ║
|
||||
║ ✓ Development tools installed ║
|
||||
║ ✓ Dotfiles symlinked ║
|
||||
║ ║
|
||||
║ Next steps: ║
|
||||
║ 1. Restart your terminal ║
|
||||
║ 2. Run 'nvim' to install plugins ║
|
||||
║ 3. Enjoy your setup! ║
|
||||
║ ║
|
||||
║ Backup: $BACKUP_DIR ║
|
||||
╚══════════════════════════════════════════════════════════╝${NC}"
|
||||
echo -e "${GREEN}"
|
||||
echo "Setup Complete!"
|
||||
echo ""
|
||||
echo " [OK] $OS detected"
|
||||
echo " [OK] Fish shell configured"
|
||||
echo " [OK] Neovim (Scratch) configured"
|
||||
echo " [OK] Ghostty terminal configured"
|
||||
echo " [OK] Development tools installed"
|
||||
echo " [OK] Dotfiles symlinked"
|
||||
echo ""
|
||||
echo "Next steps:"
|
||||
echo "1. Restart your terminal"
|
||||
echo "2. Run 'nvim' to install plugins"
|
||||
echo "3. Enjoy your setup!"
|
||||
echo ""
|
||||
echo "Backup: $BACKUP_DIR"
|
||||
echo -e "${NC}"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user