Switch to oh-my-posh.

This commit is contained in:
Bartek Stalewski 2024-06-24 15:20:23 +02:00
parent 27b42564b7
commit da19c0a6c9
No known key found for this signature in database
3 changed files with 88 additions and 2 deletions

View file

@ -39,8 +39,9 @@ if [[ $(command -v vivid) ]]; then
else
unset LS_COLORS
fi
export STARSHIP_CACHE="$XDG_CACHE_HOME"/starship
eval "$(STARSHIP_CACHE="$XDG_CACHE_HOME"/starship starship init zsh)"
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
eval "$(oh-my-posh --config ${XDG_CONFIG_HOME}/omp/omp.toml init zsh)"
fi
# completion
zstyle ':completion:*' menu select