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

ls -G varies by OS. #18

Open
dmtucker opened this issue May 12, 2015 · 0 comments
Open

ls -G varies by OS. #18

dmtucker opened this issue May 12, 2015 · 0 comments

Comments

@dmtucker
Copy link

On BSD-like systems, -G adds color:

-G      Enable colorized output.  This option is equivalent to defining
             CLICOLOR in the environment.  (See below.)

On Linux-like systems, I think you want --color=auto or --color=always:

--color[=WHEN]
              colorize  the  output.   WHEN  defaults to ‘always’ or can be ‘never’ or ‘auto’.  More
              info below
-G, --no-group
              in a long listing, don’t print group names

This may have gone unnoticed because of the exports at the end of the bashrc.

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

No branches or pull requests

1 participant