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
fd does not want to work when cwd is non existent #1072
Comments
I happened to run into this issue too and fixed it since I agree fd shouldn't care about the current working directory when a search path is provided. For the record, an easier way to reproduce: $ mkdir testdir
$ cd testdir
$ rmdir $PWD
$ fd foo /tmp
[fd error]: Could not retrieve current directory (has it been deleted?). sharkdp, how do you feel about this issue - do you agree this is a bug? |
@vijfhoek that commit looks good to me. |
Yes, thank you for creating a fix! |
What version of
fd
are you using?fd 8.3.1
fish, version 3.3.1
I think this is a bug: when providing a path the cwd should not be accessed.
The text was updated successfully, but these errors were encountered: