justjanne/powerline-go

nix-shell segment uses a non-existent character

hacker1024 opened this issue · 2 comments

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):

  • OS: NixOS Unstable
  • Architecture: amd64
  • Shell: Bash

Additional context

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

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