Skip to content
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

set default path separator to '/' in MSYS #730

Merged
merged 1 commit into from
Feb 15, 2021

Commits on Feb 15, 2021

  1. 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: sharkdp#537
    aswild committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    c7e5873 View commit details
    Browse the repository at this point in the history