mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 20:53:25 +00:00
feat(shell): use oh-my-posh if available
This commit is contained in:
@@ -34,5 +34,8 @@ x-have rbenv && {
|
|||||||
eval "$(rbenv init - bash)"
|
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"
|
source "$DOTFILES/config/alias"
|
||||||
|
|||||||
@@ -100,5 +100,7 @@ x-have rbenv && {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init zsh)"
|
# 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"
|
source "$DOTFILES/config/alias"
|
||||||
|
|||||||
Reference in New Issue
Block a user