Skip to content

ls -G varies by OS. #18

Description

@dmtucker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions