X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bash_profile;h=1105d6bccb385cc702d00621581c1793378ef2b4;hp=4f2ade92e73bd71738a33a47e3b7745c8b2534a7;hb=52714da532d76625f157e459be053b2cf8f47451;hpb=579555e47045e30715cfec7b4955ccb6babae52f diff --git a/.bash_profile b/.bash_profile index 4f2ade9..1105d6b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,24 +1,6 @@ -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`" +# '2>/dev/null' as finger(1) may not be present. +finger 2>/dev/null -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 +if [ -f "$HOME/.bash_profile.local" ];then source "$HOME/.bash_profile.local";fi