1 if [ -f /etc/bashrc ];then source /etc/bashrc;fi
3 function _bash_profile_addpath # variable,dirpathname
5 if [ '!' -d "$2" ];then return;fi
6 if [ -z "`eval "echo \\${$1}"`" ];then
9 # we want to override any original directories, place dirpathname first!
10 eval "$1=\"$2:\${$1}\""
15 _bash_profile_addpath PATH "$HOME/bin"
16 _bash_profile_addpath LD_LIBRARY_PATH "$HOME/lib"
17 _bash_profile_addpath MANPATH "$HOME/man"
18 _bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl"
19 _bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl/`perl -V:version|cut -d "'" -f 2`"
20 unset CVSROOT;_bash_profile_addpath CVSROOT "$HOME/pserver/cvs"
24 alias maple="ssh -t vega.fjfi.cvut.cz maple"
25 #alias cc='cc -I/home/short/include'
28 weberr="/var/log/httpd/error/klokan.error_log"
29 if [ -f "$weberr" ];then alias weberr='tail "$weberr"';fi
30 weblog="/var/log/httpd/klokan.access_log"
31 if [ -f "$weblog" ];then alias weblog='tail -n 20000 "$weblog"|grep "\\(~\\|%7[eE]\\)short"';fi
36 export LC_CTYPE=cs_CZ.ISO-8859-2