Merge branch 'master' into hjp

This commit is contained in:
Peter J. Holzer 2019-05-18 10:28:52 +02:00
commit a3f0b9fa86
4 changed files with 18 additions and 3 deletions

6
.psqlrc Normal file
View File

@ -0,0 +1,6 @@
\pset null '(∅)'
\pset linestyle unicode
\pset border 2
\pset unicode_border_linestyle double
\timing on
\x auto

12
.vimrc
View File

@ -19,12 +19,20 @@ set sm
set sw=4 set sw=4
set tw=72 set tw=72
set viminfo='100,<50,s10,h,% set viminfo='100,<50,s10,h,%
if has('reltime') if has('reltime')
set incsearch set incsearch
endif endif
colorscheme hjp if $BG == "light"
syntax on set bg=light
colorscheme hjp
syntax on
elseif $BG == "dark"
set bg=dark
syntax on
endif
map <F7> :cp map <F7> :cp
map <F8> :cn map <F8> :cn
map!  >I<yypa/O map!  >I<yypa/O

View File

@ -51,7 +51,7 @@ then
then then
. ~/.zxtermcolors . ~/.zxtermcolors
else 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 perl -e 'printf(qq{if whence xtermcontrol >/dev/null\nthen\nxtermcontrol --bg "#%02X%02X%02X"\nexport BG=light\nfi\n}, map { rand(128)+128 } qw(1 1 1))' > ~/.zxtermcolors
fi fi
fi fi

View File

@ -7,6 +7,7 @@ ALLSRC = \
.zshenv \ .zshenv \
.zshrc \ .zshrc \
.gitconfig \ .gitconfig \
.psqlrc \
.vim/colors/hjp.vim \ .vim/colors/hjp.vim \
.vimrc \ .vimrc \