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

Use the NIX_SHELL_PACKAGES variable in the nix-shell segment on Zsh

hacker1024 opened this issue · comments

Is your feature request related to a problem? Please describe.
The zsh-nix-shell plugin for Zsh sets a NIX_SHELL_PACKAGES environment variable that contains the names of all specified packages in the current Nix shell.

Describe the solution you'd like
It'd be great if this information could be displayed in the nix-shell segment.

Describe alternatives you've considered
This can be done with the shell variable segment, but the colors don't fit.

Additional context