Skip to content

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

@hacker1024

Description

@hacker1024

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions