Created
August 16, 2009 00:20
-
-
Save n8agrin/168490 to your computer and use it in GitHub Desktop.
BSD terminal coloring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Colors | |
# The available color codes are: | |
# | |
# a -- black | |
# b -- red | |
# c -- green | |
# d -- brown | |
# e -- blue | |
# f -- magenta | |
# g -- cyan | |
# h -- light gray | |
# A -- bold black, usually shows up as dark gray | |
# B -- bold red | |
# C -- bold green | |
# D -- bold brown, usually shows up as yellow | |
# E -- bold blue | |
# F -- bold magenta | |
# G -- bold cyan | |
# H -- bold light gray; looks like bright white | |
# x -- default foreground or background | |
DIR=cx | |
SYM_LINK=Gx | |
SOCKET=Fx | |
PIPE=dx | |
EXE=Cx | |
BLOCK_SP=Dx | |
CHAR_SP=Dx | |
EXE_SUID=hb | |
EXE_GUID=ad | |
DIR_STICKY=fx | |
DIR_WO_STICKY=fx | |
export LSCOLORS="$DIR$SYM_LINK$SOCKET$PIPE$EXE\ | |
$BLOCK_SP$CHAR_SP$EXE_SUID$EXE_GUID\ | |
$DIR_STICKY$DIR_WO_STICKY" | |
export CLICOLOR="YES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment