--n-class X -> --X
[nethome.git] / .bash_profile
index 4f2ade9..1105d6b 100644 (file)
@@ -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