haslersn / any-nix-shell

fish and zsh support for the nix run and nix-shell environments of the Nix package manager
MIT License
253 stars 17 forks source link

Pretty format for complex nix-shell inputs #16

Closed dmadisetti closed 1 year ago

dmadisetti commented 2 years ago

Example:

nix-shell -p 'python38.withPackages(ps: with ps; [ openpyxl pandas pystache jupyter ])'

creates a really messy terminal line:

$ »                  [ ]) jupyter openpyxl pandas ps; pystache python38.withPackages(ps: with
                                                      ^
                                                      |
from any shell ----------------------------------------
haslersn commented 1 year ago

Duplicate of #1