프롬프트 및 vim/vimdiff 색깔 변경

|

1. force_color_prompt=yes 주석해제

2. 아래 컬러로 변경

if [ "$color_prompt" = yes ]; then

PS1='${debian_chroot:+($debian_chroot)}\[\033[0;36m\]\u\[\033[01;33m\]@\[\033[01;35m\]\h\[\033[    01;33m\]:\[\033[01;31m\]\w\[\033[0;37m\]\$ '

else

          PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

3. export LS_COLORS="di=01;36":"fi=01;37":"ex=01;32":"ln=01;36":"so=01;33"


4. vimdiff(.vimrc)

if &diff

colorscheme koehler

highlight DiffChanger cterm=none ctermfg=black ctermbg=LightGreen gui=none guifg=bg guibg=LightGreen

highlight DiffText    cterm=none ctermfg=black ctermbg=Red gui=none guifg=bg guibg=Red

endif


Trackback 0 And Comment 0