Revert "refactor(install): remove all unicode symbols and box-drawing characters for clean terminal compatibility"
This reverts commit 98179f5c37.
This commit is contained in:
+26
-24
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Dotfiles Installation Script - Cross-Platform
|
# Dotfiles Installation Script - Cross-Platform
|
||||||
# Optimiert fuer Fish + Ghostty + Neovim Scratch Setup
|
# Optimiert für Fish + Ghostty + Neovim Scratch Setup
|
||||||
|
|
||||||
set -e # Exit on error
|
set -e # Exit on error
|
||||||
|
|
||||||
@@ -130,10 +130,11 @@ install_cask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header() {
|
header() {
|
||||||
echo -e "${BLUE}"
|
echo -e "${BLUE}
|
||||||
echo "QA Engineer Dev Setup"
|
╔════════════════════════════════════╗
|
||||||
echo "TypeScript/Playwright + Go"
|
║ QA Engineer Dev Setup ║
|
||||||
echo -e "${NC}"
|
║ TypeScript/Playwright + Go ║
|
||||||
|
╚════════════════════════════════════╝${NC}"
|
||||||
}
|
}
|
||||||
|
|
||||||
check_prerequisites() {
|
check_prerequisites() {
|
||||||
@@ -398,7 +399,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 abstuerzt)
|
# Htop (fallback wenn btop abstürzt)
|
||||||
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
|
||||||
@@ -474,7 +475,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
|
||||||
@@ -567,23 +568,24 @@ main() {
|
|||||||
install_playwright
|
install_playwright
|
||||||
install_optional_ai_tools
|
install_optional_ai_tools
|
||||||
|
|
||||||
echo -e "${GREEN}"
|
echo -e "${GREEN}
|
||||||
echo "Setup Complete!"
|
╔══════════════════════════════════════════════════════════╗
|
||||||
echo ""
|
║ Setup Complete! ║
|
||||||
echo " [OK] $OS detected"
|
║ ║
|
||||||
echo " [OK] Fish shell configured"
|
║ ✓ $OS detected ║
|
||||||
echo " [OK] Neovim (Scratch) configured"
|
║ ✓ Fish shell configured ║
|
||||||
echo " [OK] Ghostty terminal configured"
|
║ ✓ Neovim (Scratch) configured ║
|
||||||
echo " [OK] Development tools installed"
|
║ ✓ Ghostty terminal configured ║
|
||||||
echo " [OK] Dotfiles symlinked"
|
║ ✓ Development tools installed ║
|
||||||
echo ""
|
║ ✓ Dotfiles symlinked ║
|
||||||
echo "Next steps:"
|
║ ║
|
||||||
echo "1. Restart your terminal"
|
║ Next steps: ║
|
||||||
echo "2. Run 'nvim' to install plugins"
|
║ 1. Restart your terminal ║
|
||||||
echo "3. Enjoy your setup!"
|
║ 2. Run 'nvim' to install plugins ║
|
||||||
echo ""
|
║ 3. Enjoy your setup! ║
|
||||||
echo "Backup: $BACKUP_DIR"
|
║ ║
|
||||||
echo -e "${NC}"
|
║ Backup: $BACKUP_DIR ║
|
||||||
|
╚══════════════════════════════════════════════════════════╝${NC}"
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user