warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.25k stars 336 forks source link

Nerd Font not working #2709

Open shallubhai opened 1 year ago

shallubhai commented 1 year ago

Discord username (optional)

No response

Describe the bug

Hack Nerd Font is not working on v0.2023.02.21.08.03.stable_01. (not able to see the icons etc when doing ls)

To Reproduce

Install the v0.2023.02.21.08.03.stable_01 and try to use the hack nerd font

Expected behaviour

No response

Screenshots

Screenshot 2023-02-25 at 12 53 35 AM Screenshot 2023-02-25 at 12 53 55 AM

Operating System

MacOS

OS Version

13.0 (22A380)

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Warp Version

v0.2023.02.21.08.03.stable_01

Additional context

No response

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

dannyneira commented 1 year ago

Thanks for letting us know @shallubhai , I'm unable to find the official Hack nerd font on the site so struggling to reproduce this issue. We do have a number of font/text settings that may help the look of the Nerd font. https://docs.warp.dev/appearance/text-fonts-cursor#text-and-fonts

Also, we have a number of built-in fonts, including Hack ( not Nerd font ) which is set by default.

CleanShot 2023-02-24 at 16 13 43

Please let us know if any of this helps with your issue, if not, where we can find the official hack nerd font to reproduce.

shallubhai commented 1 year ago

@dannyneira thanks for your quick reply. the Hack Nerd Font is on the same url, just you need to scroll down.. as the search doesn't work there (https://www.nerdfonts.com/font-downloads) [screen shot attached]

Screenshot 2023-02-25 at 2 43 12 AM

i have tried using the default font, but it doesn't show the icons on the files like it should .. the reason i wanted to use nerd font is to see icons on folder and files.. like 2nd screenshot below

Screenshot 2023-02-25 at 2 44 34 AM
dannyneira commented 1 year ago

Okay so I got a chance to do a bit of testing and it appears ls doesn't show the icons by default, even with hack nerd font.

There is some complicated way to add them to normal ls, but may I recommend you try ls-go( it was created by a Warp SWE and comes with icon support by default, see my example below ).

@shallubhai Please let me know if any of the above is helpful in getting your icons in ls working.

https://user-images.githubusercontent.com/16809145/221677242-636b4ad4-0b73-46d2-9730-41c79fa85588.mp4

dannyneira commented 4 months ago

@shallubhai any luck with the above? still having issues with nerd fonts?

tonnyorg commented 3 months ago

I have the same issue here, any ideas?

ilovejs commented 3 weeks ago

nvim use nerdfont to display icons