X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bash_profile;h=1105d6bccb385cc702d00621581c1793378ef2b4;hp=63eb16daa9dad44ee67a4a978d313688e4acc725;hb=ea9e4c327bfd50d4c64b590b1444ac6959156bc8;hpb=8a4159c130e8490b9cc3f9da8486b3398e5b772b diff --git a/.bash_profile b/.bash_profile index 63eb16d..1105d6b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,25 +1,6 @@ -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 -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