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] Unrestricted option doesn't work when "~/.config/fd/ignore" is set #1209

Closed
1 task done
alanxoc3 opened this issue Dec 15, 2022 · 1 comment · Fixed by #1211
Closed
1 task done

[BUG] Unrestricted option doesn't work when "~/.config/fd/ignore" is set #1209

alanxoc3 opened this issue Dec 15, 2022 · 1 comment · Fixed by #1211
Labels

Comments

@alanxoc3
Copy link

Checks

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

Describe the bug you encountered:

Shell snippet to reproduce:

> mkdir test-fd
> cd test-fd
> touch .hi what
> ls -a
.hi  what
> fd -u
.hi
what
> echo '.hi' > ~/.config/fd/ignore
> fd -u # I expect the output to be ".hi\nwhat"
what
> fd --version
fd 8.6.0

Describe what you expected to happen:

That last "fd -u" should have shown ".hi", but it ignored it. I don't expect unrestricted mode to respect the global ignore file...

What version of fd are you using?

8.6.0

Which operating system / distribution are you on?

arch linux
@alanxoc3
Copy link
Author

Thanks for the quick fix @tmccombs.

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

Successfully merging a pull request may close this issue.

1 participant