Add omz starship plugin

This commit is contained in:
Tobias Reisinger 2025-10-01 00:05:20 +02:00
parent b3e268fe78
commit 122aeb8ed7
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -14,7 +14,6 @@ autoinstall git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
# to know which specific one was loaded, run: echo $RANDOM_THEME # to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="serguzim" ZSH_THEME="serguzim"
[ -x "$(command -v starship)" ] && ZSH_THEME=""
# Set list of themes to pick from when loading at random # Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load # Setting this variable when ZSH_THEME=random will cause zsh to load
@ -89,7 +88,6 @@ fpath=(
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=( plugins=(
'atuin'
'colored-man-pages' 'colored-man-pages'
'docker' 'docker'
'docker-compose' 'docker-compose'
@ -101,6 +99,7 @@ plugins=(
'nix-zsh-completions' 'nix-zsh-completions'
'rust' 'rust'
'safe-paste' 'safe-paste'
'starship'
'sudo' 'sudo'
'vi-mode' 'vi-mode'
'zsh-syntax-highlighting' 'zsh-syntax-highlighting'
@ -126,4 +125,3 @@ source "$plugin_path/zsh-syntax-highlighting.sh"
[ -x "$(command -v atuin)" ] && eval "$(atuin init zsh --disable-up-arrow)" [ -x "$(command -v atuin)" ] && eval "$(atuin init zsh --disable-up-arrow)"
[ -x "$(command -v direnv)" ] && eval "$(direnv hook zsh)" [ -x "$(command -v direnv)" ] && eval "$(direnv hook zsh)"
[ -x "$(command -v starship)" ] && eval "$(starship init zsh)"