Use the NIX_SHELL_PACKAGES variable in the nix-shell segment on Zsh
hacker1024 opened this issue · comments
hacker1024 commented
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