X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bash_profile;fp=.bash_profile;h=7ff84cdd604997877bda705dd47376fc106a683e;hp=63eb16daa9dad44ee67a4a978d313688e4acc725;hb=22a13978650131583b5ffc4cff385e812f7bd9c2;hpb=c2ff022595eb310a2cb2d853cea8b57b9ef8a06a diff --git a/.bash_profile b/.bash_profile index 63eb16d..7ff84cd 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,25 +1,3 @@ -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" -} - -_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