dotfiles.2022/_home/dot_sz.shrc.d/zsh.post/10_oh-my-posh

7 lines
230 B
Plaintext
Raw Normal View History

if [[ -n "$(which-command oh-my-posh)" ]]; then
OHMYPOSH_CONFIG=''
[[ -r ~/.poshtheme.omp.json ]] && OHMYPOSH_CONFIG="~/.poshtheme.omp.json"
eval "$(oh-my-posh init zsh --config $OHMYPOSH_CONFIG)"
unset OHMYPOSH_CONFIG
fi