You are not logged in.
I have starship and also some nerd fonts installed on xfce4.
➜ pacman -Qq | grep nerd
ttf-agave-nerd
ttf-firacode-nerd
ttf-nerd-fonts-symbols-common
ttf-nerd-fonts-symbols-mono
ttf-ubuntu-mono-nerd
ttf-ubuntu-nerd➜ pacman -Qq starship
starship
it is called with
eval "$(starship init bash)"
in my ~/.bashrc
In general it seems to work, but not all of the symbols are displayed as they should >> https://imgur.com/x0v5jms/
It does neither make any difference with which terminal emulator (xfce4-terminal, alacritty, kitty) I am ausing nor whether oh-my-bash is active or not.
Any hint where things go wrong here?
Offline
And did you configure the font in terminal (e.g. in kitty.conf: font_family MesloLGS NF)?
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
yep, I think so
➜ cat ~/.config/alacritty/alacritty.toml
[font]
size = 12.0
[font.normal]
family = "FiraCode Nerd Font"
style = "Regular"
[window]
opacity = 0.95
[window.padding]
x = 8
y = 8
Offline
* Can you try in installing ttf-nerd-fonts-symbols and see if it completes the missing signs?
*Try refresh the font cache (fc-cache).
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
fc-list :charset=279c
The other one looks like (overlapped)
fc-list :charset=2718
Edit: --idiocy - yeah, "match" will show exactly *one* match.
=>> ++caffeine
Last edited by seth (2024-04-08 08:25:55)
Online
installing ttf-nerd-fonts-symbols
did not do anything
fc-list :charset=279c
fc-list :charset=2718
do not return anything
Offline
Install DejaVu …
Online
It's funny because u279c is a bold arrow right (➜) which looks like the one in your terminal's snippet above.
Does this printf "%X\n" \"➜\" returns 279c ?
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
https://www.nerdfonts.com/cheat-sheet - search for "arrow right"
I might be wrong though, but the box reads like "279c" to me.
Online
Yep, I wonder how on one side, OP's terminal can present '➜' while in starship's prompt it can't...
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
Oh, I see…
Just because *you* can see that glpyh properly resolved in *your* browser doesn't mean the OP can
Online
I had this in my starship.toml
success_symbol = '[➜](bold green)'
removing that makes things much better https://imgur.com/mKt8eRq.png.
not perfect yet, as you can see in this python based repo folder https://imgur.com/88xLBo9.png
following up on the lessons learned above
❯ printf "%X\n" \?\"
1F40D
(weird enough I see the python symbol here just fine as long I did not save the post while it does not show in the terminal, as you see in this screenshot)
That said ... what are those numbers (279c, 1F40D) referring to exactly. Something like ASCI code?
Last edited by dulhaver (2024-04-12 20:42:08)
Offline
utf-8 codepoints - you can google them along "utf8" and it'll show you a bunch of utf-8 related pages that explain the codepoint (name, group and usually an illustrating png)
fc-list :charset=279c
prints all installed fonts that provide that one
Install https://archlinux.org/packages/extra/any/ttf-dejavu/ - it'll provide a whole lot of them.
fc-list :charset=1F40D
Your TE will most likely only accept fixed witdth substitutes or so, ? is typically in emoji-fonts only.
Online
fc-list :charset=1F40D neither shows any hit with ttf-dejavu installed.
I was advised that starship would work just find with Firacode and I am certain the info is reliable.
Neither does searching for 'snake', nor 'python' return any 1F40D on the Nerdfonts cheat-sheet
So it gets more mysterious the more I am looking?
Last edited by dulhaver (2024-04-13 17:31:51)
Offline
The python snake is an amoji and will typically be provided by some emoji font.
DejaVu should get you 279c, though?
Online