
Oh-My-Posh prompt will not show up inside emacs shell. `editor` is the alias I should get used to use instead of vi, adjusted aliases so that editor will be used. Enabled relevant layers in the spacemacs/init.el file
6 lines
248 B
Text
6 lines
248 B
Text
if [[ -n "$(type -fP oh-my-posh)" && -z "$INSIDE_EMACS" ]]; 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
|