feat(browser): integrate Zen Browser into install script and documentation

This commit is contained in:
2026-09-09 08:05:35 +02:00
parent 3d07731ec0
commit bae30b13ec
2 changed files with 39 additions and 1 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ Meine persönliche Development-Umgebung optimiert für:
- **Fish Shell** - Mit Fisher, Mise, FZF Integration - **Fish Shell** - Mit Fisher, Mise, FZF Integration
- **Ghostty** - Modernes Terminal mit Tokyo Night Theme - **Ghostty** - Modernes Terminal mit Tokyo Night Theme
- **Starship** - Cross-shell prompt - **Starship** - Cross-shell prompt
- **Zen Browser** - Moderner Gecko-basierter minimalistischer Browser
### Development ### Development
- **LSP Support**: TypeScript (ts_ls), Go (gopls), Lua, HTML, CSS, JSON, YAML - **LSP Support**: TypeScript (ts_ls), Go (gopls), Lua, HTML, CSS, JSON, YAML
@@ -60,7 +61,7 @@ brew tap koekeishiya/formulae
# Core & Development tools installieren # Core & Development tools installieren
brew install git neovim fish starship fzf ripgrep fd bat btop fastfetch direnv lazygit mise yabai tmux brew install git neovim fish starship fzf ripgrep fd bat btop fastfetch direnv lazygit mise yabai tmux
brew install --cask ghostty 1password-cli brew install --cask ghostty 1password-cli zen
# Symlinks erstellen # Symlinks erstellen
ln -sf ~/gits/dotfiles/.config/fish ~/.config/fish ln -sf ~/gits/dotfiles/.config/fish ~/.config/fish
+37
View File
@@ -205,6 +205,42 @@ install_1password_cli() {
esac esac
} }
install_zen_browser() {
log "Installing Zen Browser..."
case $OS in
"macos")
if [ -d "/Applications/Zen.app" ] || [ -d "$HOME/Applications/Zen.app" ]; then
log "Zen Browser is already installed."
return
fi
install_cask zen
;;
"arch")
if command -v zen-browser &> /dev/null; then
log "Zen Browser is already installed."
return
fi
if command -v yay &> /dev/null; then
yay -S --noconfirm zen-browser-bin
else
warn "yay not found, cannot install zen-browser-bin on Arch"
fi
;;
"debian"|"fedora")
if command -v zen-browser &> /dev/null; then
log "Zen Browser is already installed."
return
fi
if command -v flatpak &> /dev/null; then
flatpak install -y flathub io.github.zen_browser.zen || true
else
warn "Zen Browser needs Flatpak or manual installation on $OS (https://zen-browser.app)"
fi
;;
esac
}
install_core_tools() { install_core_tools() {
log "Installing core development tools..." log "Installing core development tools..."
@@ -291,6 +327,7 @@ install_core_tools() {
esac esac
install_1password_cli install_1password_cli
install_zen_browser
log "Core tools installed!" log "Core tools installed!"
} }