diff --git a/zsh/.zshrc b/zsh/.zshrc index c4e46ac..a67c9ea 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -22,10 +22,10 @@ if [ -f $HOME/.zshalias ]; then fi # Shell initializations -if [ $(which oh-my-posh) ]; then +if type oh-my-posh > /dev/null; 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 +if type mcfly > /dev/null; then eval "$(mcfly init zsh)" fi