reconquest / import.bash

Golang-like import statement in bash
27 stars 4 forks source link

Cygwin support (aka. support systems with core.autocrlf=true set globally) #2

Open DrVanScott opened 6 years ago

DrVanScott commented 6 years ago

Hi,

On windows systems core.autocrlf is normally set to "true" globally. Unfortunately this will render git projects useless which contain bash code, as git is creating those files with CRLF which bash doesn't like. I see four possible solutions:

In my opinion the first or the last option are preferable.

kovetskiy commented 6 years ago

@DrVanScott Hello. I'm glad that you found this project useful and you want to use it on Windows, but we didn't have plans for Cygwin support since we don't use windows at all, if you will send a pull-request with all required changeset, then I will be glad to merge it.