mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-02-16 17:24:38 +00:00
improve command presence detection
This commit is contained in:
parent
377cb77cce
commit
1bf64d6cdc
1 changed files with 2 additions and 2 deletions
|
@ -22,10 +22,10 @@ if [ -f $HOME/.zshalias ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Shell initializations
|
# 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')"
|
eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/jbowdre/dotfiles/main/oh-my-posh/vpotato.minimal.omp.json')"
|
||||||
enable_poshtransientprompt
|
enable_poshtransientprompt
|
||||||
fi
|
fi
|
||||||
if [ $(which mcfly) ]; then
|
if type mcfly > /dev/null; then
|
||||||
eval "$(mcfly init zsh)"
|
eval "$(mcfly init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue