starship
This commit is contained in:
19
install.sh
19
install.sh
@@ -29,6 +29,8 @@ case "$DISTRO" in
|
|||||||
fedora)
|
fedora)
|
||||||
DNF_PACKAGES=(
|
DNF_PACKAGES=(
|
||||||
stow
|
stow
|
||||||
|
# prompt
|
||||||
|
starship
|
||||||
# sway ecosystem
|
# sway ecosystem
|
||||||
swayidle
|
swayidle
|
||||||
# bar & notifications
|
# bar & notifications
|
||||||
@@ -58,6 +60,8 @@ case "$DISTRO" in
|
|||||||
arch)
|
arch)
|
||||||
PACMAN_PACKAGES=(
|
PACMAN_PACKAGES=(
|
||||||
stow
|
stow
|
||||||
|
# prompt
|
||||||
|
starship
|
||||||
# sway ecosystem
|
# sway ecosystem
|
||||||
swayidle
|
swayidle
|
||||||
# bar & notifications
|
# bar & notifications
|
||||||
@@ -134,6 +138,21 @@ else
|
|||||||
echo "JetBrains Mono Nerd Font already installed, skipping."
|
echo "JetBrains Mono Nerd Font already installed, skipping."
|
||||||
fi
|
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
|
# Stow all packages
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
0
starship/.config/starship.toml
Normal file
0
starship/.config/starship.toml
Normal file
Reference in New Issue
Block a user