Skip to content

bug: eza shadows NuShell ls #6687

Closed
@oderwat

Description

@oderwat

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Shadowing the original ls when enabling eza is extremely problematic for NuShell.

In NuShell ls is not what it is in other shells and can't be replaced by eza. ls outputs structured results and has a large list of options. Doing so creates defects with any NuShell script that use ls.

I see that this seems to be a part of home-manager for some time already. I guess the user base that uses eza + NuShell + 'create custom scripts' is pretty small.

Work around: Disable eza shell integration for NuShell.
Better solution: remove the ls = eza from NuShell aliases. We use e,ee, el and so on.

P.S.: I think that adding any alias for ls is a major problem in any shell!

Maintainer CC

@michaelBelsanti

System information

Sorry, I use flakes and nix-darwin. But it does not matter for this kind of bug.

Metadata

Metadata

Labels

bugtriageIssues or feature request that have not been triaged yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions