Pārlūkot izejas kodu

Fix color preferences

pull/15/head
10sr pirms 9 gadiem
vecāks
revīzija
a08b33526f
2 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      profile
  2. +5
    -0
      shrc

+ 1
- 1
profile Parādīt failu

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


+ 5
- 0
shrc Parādīt failu

@@ -1148,6 +1148,11 @@ then
__my_c1="$__attr_bold$__attr_underline" # color for PWD
__my_c2="$__attr_bold$__attr_underline" # color for user and hostname
# 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}}"
__my_c5="$__color_black$__color_bg_white" # color for SCR
__my_cdef="$__color_default"


Notiek ielāde…
Atcelt
Saglabāt