#Customization

18 messages · Page 1 of 1 (latest)

iron gorge
#

Hi, I have question if it is possible to customize pwsh prompt like that without using any external software like oh-my-posh/starship.rs

split oxide
#

the minimum you need is a font that supports those extra characters

#

otherwise, it's possible, it'll just take work to get it right

iron gorge
#

That font isn't a problem..

split oxide
#

then basically all you have to do is write the content of your prompt function

#

that gets a big "just", that's a reasonably complicated prompt 🙂

iron gorge
iron gorge
#

colors

split oxide
#

find the character that's a left and right semi-circle

iron gorge
#

well, Write-Host does not support that char.

split oxide
#

nothing to do with Write-Host

iron gorge
split oxide
#

is that in a saved script or something?

iron gorge
#

yes. $PROFILE

split oxide
#

make sure you safe it with at least a UTF8 BOM

#

you're using win PS, win PS is awful at guess-the-encoding and will assume ASCII

#

that'll break apart your unicode char and render it as two discreet chars