fd/src
Allen Wild 1a3615df9c set default path separator to '/' in MSYS
MSYS and MSYS2 environments (such as Git Bash) have a UNIX like
filesystem which uses '/' as the path separator rather than '\', but
Rust doesn't know about this by default.

On Windows, check the MSYSTEM environment variable and set the default
value of the --path-separator option to '/' for convenience.

There is no similar detection of Cygwin because there seems to be no way
for Rust (and any native Win32) programs to detect that they're being
called from a Cygwin environment. Cygwin users can use a shell
alias/function/script to wrap fd.

Fixes: https://github.com/sharkdp/fd/issues/537
2021-02-15 20:08:59 +01:00
..
exec use custom --path-separator in arguments to --exec 2021-02-14 10:24:41 +01:00
filter Run cargo fmt 2020-12-06 12:02:22 +01:00
app.rs Hide --print0 from the short help text 2021-02-14 20:02:37 +01:00
error.rs Proper error handling within walk.rs 2020-04-03 22:36:32 +02:00
exit_codes.rs Clean up exit code handling 2020-04-03 10:48:27 +02:00
filesystem.rs set default path separator to '/' in MSYS 2021-02-15 20:08:59 +01:00
filetypes.rs Add new --type socket and --type pipe filters 2020-04-16 09:59:45 +02:00
main.rs set default path separator to '/' in MSYS 2021-02-15 20:08:59 +01:00
options.rs Add --prune flag 2020-10-25 08:16:01 +01:00
output.rs hide private func 2021-02-13 21:55:38 +01:00
regex_helper.rs Show error if pattern matches leading dot but --hidden is not given, closes #615 2020-12-06 15:57:33 +01:00
walk.rs Avoid panic when sending errors after receiver shutdown 2020-10-28 13:10:25 +01:00