I pasted it also into /boot/home/config/profile and got the same results in terminal that you see in the screenshot. I thought I would use the website to see what is what. I’m not sure what to trim / adjust to match the OP’s output. Here’s what terminal looks like:
I see what you mean. I notice that there are empty square characters, which I’m guessing means that character isn’t in the character set (or something; in Windows & Firefox it doesn’t look right, either). I guess that might be part of the problem?
I’m hoping that @rcbellN51 can post some intel on how he accomplished this.
maybe need to install any character from the depot? but wich one?
TLDR: You need JetBrainsMono Nerd Font (or some other font that has special characters) installed and set as your terminal font. My fault for not pasting the PS1 into a code block here. I think that may have changed some characters.
Yeah, that website I gave out doesn’t have the character set I was using so it’s shows up like that. Although, maybe that’s more an issue of the font not being installed for your browser to use. The only characters missing for me were the leaf icon and the clock icon (the arrows are there). Might also have something to do with me not pasting into code blocks here too. Sorry, below should be better.
I have modified my prompt in the above screenshot to include exit status, and also modified what’s pasted into my /boot/home/config/settings/profile.
PS1='\[\e[38;5;47m\]\[\e[0;48;5;47m\] \[\e[38;5;235;48;5;47m\] \[\e[0;48;5;47m\] \[\e[38;5;235;48;5;47m\]\u\[\e[0;48;5;47m\] \[\e[0;38;5;47m\]\[\e[38;5;235;48;5;208m\]\[\e[0;48;5;208m\] \[\e[38;5;235;48;5;208m\]\w\[\e[0;48;5;208m\] \[\e[0;38;5;208m\]\[\e[38;5;235;48;5;221m\]\[\e[0;48;5;221m\] \[\e[38;5;235;48;5;221m\] \[\e[0;48;5;221m\] \[\e[38;5;235;48;5;221m\]\A\[\e[0;48;5;221m\] \[\e[0;38;5;221m\]$(\
if [[ $? -eq 0 ]]; then \
echo "\[\e[38;5;235;48;5;33m\]\[\e[0;48;5;33m\]\[\e[1;97;48;5;33m\] \[\e[0;48;5;33m\]\[\e[0;38;5;33m\]"; \
else \
echo "\[\e[38;5;235;48;5;196m\]\[\e[0;48;5;196m\]\[\e[1;97;48;5;196m\] \[\e[0;48;5;196m\]\[\e[0;38;5;196m\]"; \
fi \
)\[\e[0m\] '
If Haiku also doesn’t have the font installed it will look like what you have in your screenshot in the terminal as well. The font I’m using in the Haiku terminal is JetBrainsMono Nerd Font - SemiBold.
Yes it should