mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 09:22:19 +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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue