Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] --list-details fail on windows ( missing ls error ) while using nushell that has ls exposed #1482

Open
1 task done
galop1n opened this issue Jan 19, 2024 · 1 comment

Comments

@galop1n
Copy link

galop1n commented Jan 19, 2024

Checks

  • I have read the troubleshooting section and still think this is a bug.

Describe the bug you encountered:

Use nushell as your terminal on windows, and run any fd -l command

[fd error]: 'fd --list-details' is not supported on Windows unless GNU 'ls' is installed.

Describe what you expected to happen:

There should be a way for fd to detect nushell and use his ls version
an alternative would be to have an option to specify the ls command ( if you use a replacement like exa )

What version of fd are you using?

8.7.1

Which operating system / distribution are you on?

Windows 11
@tmccombs
Copy link
Collaborator

AFAIK, nushell doesn't include an ls executable. lt is a shell builtin. And this is a somewhat niche use case.

Also, you could still get similar functionality with --exec-batch nu -c ls -l.

Given that, my inclination is not to add this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants