diff --git a/zsh/.zshrc b/zsh/.zshrc index 6b72be2..c4e46ac 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -22,6 +22,10 @@ if [ -f $HOME/.zshalias ]; then fi # Shell initializations -eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/jbowdre/dotfiles/main/oh-my-posh/vpotato.minimal.omp.json')" -enable_poshtransientprompt -eval "$(mcfly init zsh)" +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