Browse Source

Fix color preferences

pull/15/head
10sr 9 years ago
parent
commit
a08b33526f
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      profile
  2. +5
    -0
      shrc

+ 1
- 1
profile View File

@@ -126,7 +126,7 @@ export _HOSTCOLOR_1=
export _HOSTCOLOR_2= export _HOSTCOLOR_2=
# black red green yellow blue magenta cyan white # black red green yellow blue magenta cyan white
case "`hostname`" in case "`hostname`" in
arch-aspireone)
arch-vb-win8-vaio11)
_HOSTCOLOR_1=yellow _HOSTCOLOR_1=yellow
_HOSTCOLOR_2=black _HOSTCOLOR_2=black
;; ;;


+ 5
- 0
shrc View File

@@ -1148,6 +1148,11 @@ then
__my_c1="$__attr_bold$__attr_underline" # color for PWD __my_c1="$__attr_bold$__attr_underline" # color for PWD
__my_c2="$__attr_bold$__attr_underline" # color for user and hostname __my_c2="$__attr_bold$__attr_underline" # color for user and hostname
# color for :: # color for ::
if test -z "$_HOSTCOLOR_1"
then
# default color used by tmux status line
_HOSTCOLOR_1=green
fi
eval "__my_c4=\${__color_light_${_HOSTCOLOR_1}}" eval "__my_c4=\${__color_light_${_HOSTCOLOR_1}}"
__my_c5="$__color_black$__color_bg_white" # color for SCR __my_c5="$__color_black$__color_bg_white" # color for SCR
__my_cdef="$__color_default" __my_cdef="$__color_default"


Loading…
Cancel
Save