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

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

Open hacker1024 opened 1 year ago

hacker1024 commented 1 year ago

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