feat(shell): use oh-my-posh if available

This commit is contained in:
2024-02-12 14:15:37 +02:00
parent fb0b9044eb
commit 4b6b887ca8
2 changed files with 7 additions and 2 deletions

View File

@@ -34,5 +34,8 @@ x-have rbenv && {
eval "$(rbenv init - bash)"
}
eval "$(starship init bash)"
# eval "$(starship init bash)"
x-have oh-my-posh && {
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
}
source "$DOTFILES/config/alias"

View File

@@ -100,5 +100,7 @@ x-have rbenv && {
}
# eval "$(starship init zsh)"
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
x-have oh-my-posh && {
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
}
source "$DOTFILES/config/alias"