Sample Header Ad - 728x90

Fish shell : characters not displayed correctly in prompt

-1 votes
1 answer
107 views
I'm moving from bash to fish, and I've installed ilancosman/tide prompt . However, Some characters are not displayed correctly (cf. right part): Prompt with character display bug What I've done : - Install MesloLGS fonts by putting *.ttf files in /usr/local/share/fonts and running fc-cache -fv which outputs /usr/local/share/fonts: caching, new cache contents: 4 fonts, 0 dirs - Install powerline and fonts-powerline : sudo apt install powerline fonts-powerline - Checked that my $LANG uses UTF-8 : echo $LANG outputs fr_FR.UTF-8 What can I do to have characters displayed correctly? Thanks The buggy character seems to be git-related as the current working directory was created while performing a git clone ... and it precedes a version number. I have not modified fish prompt in any way, except by installing Fish tide: https://github.com/IlanCosman/tide I think I understood the problem, even if it is still unsolved. I copied my prompt inside libreoffice, set the font as the one supposed to be used by the tide prompt (MesloLGS), and got the following result (I manually yellowed the differences spotted with my prompt) : Prompt in libreoffice So, as I understand, the problem resides in the fact that my prompt is not using the right font. Still investigating on it.
Asked by John Kravicz (23 rep)
Jun 11, 2025, 09:42 AM
Last activity: Jun 11, 2025, 11:20 AM