justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.73k stars 268 forks source link

nix-shell segment uses a non-existent character #360

Open hacker1024 opened 2 years ago

hacker1024 commented 2 years ago

Describe the bug The nix-shell segment uses a U+F313 character, which is in the Unicode Private Use Area.

This character is not implemented by any font that I know of.

image

To Reproduce Steps to reproduce the behavior:

  1. Enable the nix-shell segment
  2. Enter a nix-shell session

Expected behavior I expect a more meaningful symbol to be used.

Environment (please complete the following information):

Additional context

hacker1024 commented 2 years ago

Ah, I see that Nerd Fonts uses the Nix logo here. Oops!

hacker1024 commented 2 years ago

Perhaps this character should only be used in patched mode, though?