2016년 12월 1일 목요일

mac bash prompt with current location (pwd) colored.

export PS1='\[`[ $? = 0 ] && X=2 || X=1; tput setaf $X`\]$PWD\[`tput sgr0`\]\$ '

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...