-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
Translate posix paths to windows paths for cygwin #778
Comments
I'm not sure I understand this completely. What would this path translation gain us? Is something not working without it? Or are you more concerned about the precise form of the output? |
Slightly related: #153 (comment) |
This issue is about the input paths in the command line, not the output. |
Okay, but could you please answer this question:
|
I'm closing this due to inactivity. Please feel free to comment in case it should be re-opened. |
One answer to:
is consistency when using
|
Hello, as #619 points out, the experience of using fd on cygwin is not great.
I propose adding the
--cygwin-path
flag to fd. When enabled, paths in command line will be translated to windows paths using thecygpath
command.For example,
fd --cygwin-path xxx /usr /cygdrive/z
will be translated to something likefd xxx C:/cygwin/usr Z:/
.Here is a proof of concept implementation: account-login@8cf8ebf
Just FYI, I have also posted the same proposal to the ripgrep project: BurntSushi/ripgrep#1905
The text was updated successfully, but these errors were encountered: