Skip to content

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

@alanxoc3

Description

@alanxoc3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions