-
-
Notifications
You must be signed in to change notification settings - Fork 817
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
Current directory not included when using relative path #81
Comments
This bug continues with symbolic links:
|
Good catch. It seems to work if |
BTW, would EDIT: fix |
sharkdp
added a commit
that referenced
this issue
Oct 11, 2017
Previously, we were using the relative path to extract the search string. For the current directory, the returned relative path was equal to `""`. This is why the current directory did not show in the search results (see #81). This commit also changes the way that `--full-path` works, which was previously working on relative paths. It seems more useful to search the absolute path, though. Otherwise, search results could change just by calling fd (with a given search path) from a different directory.
sharkdp
added a commit
that referenced
this issue
Oct 12, 2017
Previously, we were using the relative path to extract the search string. For the current directory, the returned relative path was equal to `""`. This is why the current directory did not show in the search results (see #81). This commit also changes the way that `--full-path` works, which was previously working on relative paths. It seems more useful to search the absolute path, though. Otherwise, search results could change just by calling fd (with a given search path) from a different directory.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In directory "a":
In directory "b":
The text was updated successfully, but these errors were encountered: