Cleanup behavior to function when things are missing
This commit is contained in:
parent
999422da87
commit
12e3c5a470
14 changed files with 35 additions and 19 deletions
|
@ -1 +1,6 @@
|
|||
eval "$(oh-my-posh init bash --config ~/.poshtheme.omp.json)"
|
||||
if [[ -n "$(type -fP oh-my-posh)" ]]; then
|
||||
OHMYPOSH_CONFIG=''
|
||||
[[ -r ~/.poshtheme.omp.json ]] && OHMYPOSH_CONFIG="~/.poshtheme.omp.json"
|
||||
eval "$(oh-my-posh init bash --config $OHMYPOSH_CONFIG)"
|
||||
unset OHMYPOSH_CONFIG
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue