Skip to content

Instantly share code, notes, and snippets.

@DerfOh
Last active December 21, 2016 17:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DerfOh/bbe2804878c54f7a509dc5dfb0568973 to your computer and use it in GitHub Desktop.
Save DerfOh/bbe2804878c54f7a509dc5dfb0568973 to your computer and use it in GitHub Desktop.
Changing cygwin colors

ls --color scheme

From: "Robert Mark Bram"

To: "Cygwin"

Date: Wed, 12 Jun 2002 02:44:32 +1000

Subject: ls --color scheme

Howdy all!

For the record, this is what I have found out about changing ls color scheme.

These three lines in my .bashrc file allow me to configure the color system by extension.

alias ls="ls --color=auto"
LS_COLORS="di=31;1:ln=36;1:ex=31;1:*~=31;1:*.html=31;1:*.shtml=37;1"
export LS_COLORS

And the output of this command: dircolors --print-database | less tells me about colors and codes etc that I can use..

Rob

:) :-} ;->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment