mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 18:42:19 +00:00
only load oh-my-posh and mcfly if the commands are present
This commit is contained in:
parent
47b9484395
commit
377cb77cce
1 changed files with 7 additions and 3 deletions
|
@ -22,6 +22,10 @@ if [ -f $HOME/.zshalias ]; then
|
|||
fi
|
||||
|
||||
# Shell initializations
|
||||
if [ $(which oh-my-posh) ]; then
|
||||
eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/jbowdre/dotfiles/main/oh-my-posh/vpotato.minimal.omp.json')"
|
||||
enable_poshtransientprompt
|
||||
fi
|
||||
if [ $(which mcfly) ]; then
|
||||
eval "$(mcfly init zsh)"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue