From 6e6b9ae780a7b9a4c552f1acf1a58d8375dbbf4a Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 10 Jul 2001 19:37:37 +0000 Subject: [PATCH] Some personal preferences --- .bash_profile | 22 ++++++++++++++++++++++ .bashrc | 14 ++++++++++++++ .cvsrc | 3 +++ .netrc | 7 +++++++ .vimrc | 15 +++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 .bash_profile create mode 100644 .bashrc create mode 100644 .cvsrc create mode 100644 .netrc create mode 100644 .vimrc diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..2ad4e4e --- /dev/null +++ b/.bash_profile @@ -0,0 +1,22 @@ +if [ -d $HOME/bin ];then export PATH=$HOME/bin:$PATH ;fi +if [ -d $HOME/netpbm/bin ];then export PATH=$HOME/netpbm/bin:$PATH ;fi +if [ -d $HOME/netpbm/lib ];then export LD_LIBRARY_PATH=$HOME/netpbm/lib ;fi +if [ -d $HOME/pgp5/bin ];then export PATH=$HOME/pgp5/bin:$PATH ;fi +if [ -d $HOME/step/pgsql/bin ];then export PATH=$HOME/step/pgsql/bin:$PATH ;fi +if [ -d $HOME/lib ];then export LD2LIBRARY_PATH=$HOME/lib ;fi +if [ -d $HOME/lib ];then export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib ;fi +if [ -d $HOME/man ];then export MANPATH=$HOME/man:$MANPATH ;fi +if [ -d $HOME/netpbm/man ];then export MANPATH=$HOME/netpbm/man:$MANPATH ;fi +if [ -d $HOME/pgp5/man ];then export MANPATH=$HOME/pgp5/man:$MANPATH ;fi +if [ -d $HOME/step/pgsql/man ];then export MANPATH=$HOME/step/pgsql/man:$MANPATH ;fi +if [ -d $HOME/step/pgsql ];then + export POSTGRESHOME=$HOME/step/pgsql + export PGLIB=$POSTGRESHOME/lib + export PGDATA=$POSTGRESHOME/data +fi +export IGNOREEOF=10 +export TMOUT=900 +export PERLLIB=~/lib/perl5/site_perl +export EDITOR=vi +source ~/.bashrc +finger diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..cdc9a48 --- /dev/null +++ b/.bashrc @@ -0,0 +1,14 @@ +alias ls='ls -bF' +alias l='ls -lbF' +alias maple="ssh1 -t -v vega.fjfi.cvut.cz maple" +#alias cc='cc -I/home/short/include' + +weberr="/var/log/httpd/error/klokan.error_log" +if [ -f "$weberr" ];then alias weberr='tail "$weberr"';fi +weblog="/var/log/httpd/klokan.access_log" +if [ -f "$weblog" ];then alias weblog='tail -n 20000 "$weblog"|grep "\\(~\\|%7[eE]\\)short"';fi + +export CVSROOT=/home/short/pserver/cvs +if [ '!' -d $CVSROOT ];then unset CVSROOT;fi + +ulimit -c 0 diff --git a/.cvsrc b/.cvsrc new file mode 100644 index 0000000..c6434b3 --- /dev/null +++ b/.cvsrc @@ -0,0 +1,3 @@ +rdiff -u +diff -u +update -dP -I ! -I CVS diff --git a/.netrc b/.netrc new file mode 100644 index 0000000..d7b8439 --- /dev/null +++ b/.netrc @@ -0,0 +1,7 @@ +default + login anonymous password short@ + macdef init + prom + bi + tick + diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..e04bdf0 --- /dev/null +++ b/.vimrc @@ -0,0 +1,15 @@ +":version 4.x +autocmd BufEnter * set sw=8 tabstop=8 +autocmd BufEnter /home/{short,root}/src/* set sw=2 tabstop=2 +set autoindent +set noerrorbells +set ruler +set ignorecase +set nobackup +set nowritebackup +set exrc +syntax off +ca X x +set fo=tcq2 +set viminfo='100,\"1000,:100,/40 +set tags=./tags,./TAGS,./../tags,./../TAGS,./../../tags,./../../TAGS,./../../../tags,./../../../TAGS,./../../../../tags,./../../../../TAGS,./../../../../../tags,./../../../../../TAGS,./../../../../../../tags,./../../../../../../TAGS,./../../../../../../../tags,./../../../../../../../TAGS,./../../../../../../../../tags,./../../../../../../../../TAGS,./../../../../../../../../../tags,./../../../../../../../../../TAGS,./../../../../../../../../../../tags,./../../../../../../../../../../TAGS,./../../../../../../../../../../../tags,./../../../../../../../../../../../TAGS,/usr/src/redhat/BUILD/tags,/usr/src/redhat/BUILD/TAGS,/usr/include/tags,/usr/include/TAGS -- 1.8.3.1