Skip to content

'command not found' when running fd with -x cd #1944

@itscool900

Description

@itscool900

Checks

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

Describe the bug you encountered:

Attempting to run fd with arguments including -x cd.
I get the output:
[fd error]: Command not found: cd

Describe what you expected to happen:

fd cds to the output (assuming only one directory is found)

What version of fd are you using?

fd 10.4.2

Which operating system / distribution are you on?

Linux 6.12.76_1 x86_64
LSB Version:	1.0
Distributor ID:	VoidLinux
Description:	Void Linux
Release:	rolling
Codename:	void

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions