Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle nix-shell segment #310

Merged
merged 1 commit into from
Jul 14, 2021
Merged

Restyle nix-shell segment #310

merged 1 commit into from
Jul 14, 2021

Conversation

jonascarpay
Copy link
Contributor

This is a patch that I (and some friends) have been locally running, that I think makes the nix segment nicer to use.

Before:
nix-shell-before

After:
nix-shell-after

Having just the logo instead of the text should be fine because

  • You rarely care about whether you're in a pure/impure shell
  • If like most nix users you're in nix-shells a lot it's an annoyingly long segment

I also changed the color to more closely match the blue/white nix colors

@jonascarpay
Copy link
Contributor Author

friendly ping, also, rebased

@justjanne justjanne merged commit f27435b into justjanne:main Jul 14, 2021
@fgaz
Copy link
Contributor

fgaz commented Nov 4, 2021

This uses a character from the patched font even in compatible/flat modes. I think it should fall back to text in those cases, or better yet there could be an option to choose the style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants