no more wrong bash colors even with +is in urxvt
This commit is contained in:
parent
3ca6317912
commit
4277a9833c
2 changed files with 6 additions and 4 deletions
8
bashrc
8
bashrc
|
@ -26,10 +26,10 @@ is_exec() { [[ -x $(type -P ${1}) ]]; }
|
||||||
# {{{ prompt
|
# {{{ prompt
|
||||||
color_number=0
|
color_number=0
|
||||||
for color in 'black' 'red' 'green' 'yellow' 'blue' 'magenta' 'cyan' 'white'; do
|
for color in 'black' 'red' 'green' 'yellow' 'blue' 'magenta' 'cyan' 'white'; do
|
||||||
eval "pn${color}='\[\e[0;3${color_number}m\]'"
|
eval "pn${color}='\[\e[38;5;$((color_number))m\]'"
|
||||||
eval "pb${color}='\[\e[1;3${color_number}m\]'"
|
eval "pb${color}='\[\e[38;5;$((color_number+8))m\]'"
|
||||||
eval "n${color}='\e[0;3${color_number}m'"
|
eval "n${color}='\e[38;5;$((color_number))m'"
|
||||||
eval "b${color}='\e[1;3${color_number}m'"
|
eval "b${color}='\e[38;5;$((color_number+8))m'"
|
||||||
(( color_number++ ))
|
(( color_number++ ))
|
||||||
done
|
done
|
||||||
unset color_number
|
unset color_number
|
||||||
|
|
2
gvimrc
2
gvimrc
|
@ -9,3 +9,5 @@ set guicursor+=a:blinkon0 "and none of them should blink
|
||||||
set guiheadroom=0
|
set guiheadroom=0
|
||||||
map <S-Insert> <MiddleMouse>
|
map <S-Insert> <MiddleMouse>
|
||||||
map! <S-Insert> <MiddleMouse>
|
map! <S-Insert> <MiddleMouse>
|
||||||
|
|
||||||
|
colorscheme iceberg
|
||||||
|
|
Loading…
Reference in a new issue