justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-shell segment uses a non-existent character

hacker1024 opened this issue · 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?