set background color
This commit is contained in:
parent
1f23956001
commit
24d5f80eed
|
@ -34,6 +34,12 @@ then
|
||||||
# it doesn't work with konsole or gnome-terminal.
|
# it doesn't work with konsole or gnome-terminal.
|
||||||
echo -n '[?67h'
|
echo -n '[?67h'
|
||||||
stty erase
|
stty erase
|
||||||
|
if [ -f ~/.zxtermcolors ]
|
||||||
|
then
|
||||||
|
. ~/.zxtermcolors
|
||||||
|
else
|
||||||
|
perl -e 'printf(qq{if whence xtermcontrol >/dev/null\nthen\nxtermcontrol --bg "#%02X%02X%02X"\nfi\n}, map { rand(128)+128 } qw(1 1 1))' > ~/.zxtermcolors
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
prompt="%B%m:%~ %T %h%# %b"
|
prompt="%B%m:%~ %T %h%# %b"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue