This commit is contained in:
Jonas H
2026-03-07 22:16:33 +01:00
parent b09f6626ba
commit 44acd484dd
2 changed files with 19 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ case "$DISTRO" in
fedora)
DNF_PACKAGES=(
stow
# prompt
starship
# sway ecosystem
swayidle
# bar & notifications
@@ -58,6 +60,8 @@ case "$DISTRO" in
arch)
PACMAN_PACKAGES=(
stow
# prompt
starship
# sway ecosystem
swayidle
# bar & notifications
@@ -134,6 +138,21 @@ else
echo "JetBrains Mono Nerd Font already installed, skipping."
fi
# ---------------------------------------------------------------------------
# Configure shell
# ---------------------------------------------------------------------------
echo ""
echo "Configuring zsh..."
# Ensure starship is initialized in .zshrc
if ! grep -q 'eval "$(starship init zsh)"' "$HOME/.zshrc" 2>/dev/null; then
echo 'eval "$(starship init zsh)"' >> "$HOME/.zshrc"
echo " Added starship initialization to ~/.zshrc"
else
echo " Starship already configured in ~/.zshrc"
fi
# ---------------------------------------------------------------------------
# Stow all packages
# ---------------------------------------------------------------------------

View File