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

Fix bug on MacOS when using CLICOLOR=1 #152

Merged
merged 5 commits into from
May 27, 2020

Conversation

amontalban
Copy link
Contributor

I found a bug when trying to use tfenv with the env variable CLICOLOR=1 to give ls the ability to show colors in MacOS Terminal.

The whole log can be found in https://gist.github.com/amontalban/380c68b99491577cf042d9ee9560f395.

What I did was changing the ls commands with find doing it in a compatible way between GNU and no GNU find because we can't use the -depth option.

Additionally I added recent versions of Ubuntu and MacOS for TravisCI testing, as well as putting CLICOLOR in the env to make sure it covers future cases.

@Zordrak
Copy link
Collaborator

Zordrak commented May 27, 2020

Testing a fix to conflicts

@Zordrak Zordrak merged commit 4f1ef20 into tfutils:master May 27, 2020
@amontalban amontalban deleted the fix_ls_macos branch November 3, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants