기본으로 리눅스를 설치하고 터미널을 xterm 으로 설정후

'ls' 를 날려보면

OTL

눈이 아플 정도로 디렉토리 색깔이 너무 파랗다~

그래서 설정을 변경해 보았다..

# cp /etc/DIR_COLORS.xterm ~/.dir_colors

복사후 vi 로 .dir_colors 파일을 편집해보자..

뚜껑을 열고 42라인 정도로 이동하면 아래와 같이 나온다..

# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00   # global default, although everything should be something.
FILE 00     # normal file
#DIR 00;34   # directory   <--- 기본설정
DIR 01;31   # directory
LINK 00;36  # symbolic link
FIFO 40;33  # pipe
SOCK 00;35  # socket
BLK 40;33;01    # block device driver
CHR 40;33;01    # character device driver
ORPHAN 01;05;37;41  # orphaned syminks
MISSING 01;05;37;41 # ... and the files they point to

위와 같이 변경후 터미널을 재 접속하면.. .두둥...

당신의 눈은 훨씬편해져 있을 것이다~~ ^^

+ Recent posts