X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bash_profile;h=98081360f6a0661719d78a7d27f88abe6e1e1de6;hb=2f2e2b18782a9ea23f9635b949ebf310a5cfb8ae;hp=4f2ade92e73bd71738a33a47e3b7745c8b2534a7;hpb=579555e47045e30715cfec7b4955ccb6babae52f;p=nethome.git diff --git a/.bash_profile b/.bash_profile index 4f2ade9..9808136 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,24 +1,4 @@ -function _bash_profile_addpath # variable,dirpathname -{ - if [ '!' -d "$2" ];then return;fi - if [ -z "`eval "echo \\${$1}"`" ];then - eval "$1='$2'" - else - eval "$1=\"\${$1}:$2\"" - fi - export "$1" -} +if [ -f "$HOME/.bashrc" ];then export BASH_ENV="$HOME/.bashrc";source "$BASH_ENV";fi -_bash_profile_addpath PATH "$HOME/bin" -_bash_profile_addpath LD_LIBRARY_PATH "$HOME/lib" -_bash_profile_addpath MANPATH "$HOME/man" -_bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl" -_bash_profile_addpath PERLLIB "$HOME/lib/perl5/site_perl/`perl -V:version|cut -d "'" -f 2`" - -export IGNOREEOF=10 -export TMOUT=900 -export EDITOR='vim' -export LC_CTYPE=cs_CZ.ISO-8859-2 -export BASH_ENV="$HOME/.bashrc";source "$BASH_ENV" finger m