X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bash_profile;h=d018d5c9cde0cd909760b543ab60036bbad47094;hp=63eb16daa9dad44ee67a4a978d313688e4acc725;hb=cbfc93db75f9c110b7e4a33f52c7fe41c0d15f11;hpb=8a4159c130e8490b9cc3f9da8486b3398e5b772b diff --git a/.bash_profile b/.bash_profile index 63eb16d..d018d5c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,25 +1,8 @@ -function _bash_profile_addpath # variable,dirpathname -{ - if [ '!' -d "$2" ];then return;fi - if [ -z "`eval "echo \\${$1}"`" ];then - eval "$1='$2'" - else - # we want to override any original directories, place dirpathname first! - eval "$1=\"$2:\${$1}\"" - 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 +test -d $HOME/Mail && m +cat 2>/dev/null .perlmail-submit.log -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