맥OS bash 폰트 색상 적용

John Jeong (토론 | 기여)님의 2017년 3월 24일 (금) 06:51 판 (→‎방법)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개념[ | ]

맥OS bash에 폰트 색상 적용 방법

2 방법[ | ]

'/etc/profile'에 아래 코드 추가

# /etc/profile
# ....
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias ll='ls -alG'
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}