diff .bashrc @ 198:6e7913283c7a

Removed a lot of cruft that's no longer needed, cleaned up some comments & syntax
author Steve Huston <huston@srhuston.net>
date Wed, 30 Sep 2020 11:21:14 -0400
parents 954d25f20123
children a20525b2ef00
line wrap: on
line diff
--- a/.bashrc	Wed Sep 30 10:54:00 2020 -0400
+++ b/.bashrc	Wed Sep 30 11:21:14 2020 -0400
@@ -1,5 +1,3 @@
-# $Id$
-#
 # This file is sourced for shells which are interactive but not a
 # login shell; however, since it is also sourced within
 # $HOME/.bash_profile, the end result is that this file is sourced for all
@@ -102,39 +100,6 @@
   fi
 done
 
-# Local Perl install
-if [ -d $HOME/perl ]; then
-  if [ -d $HOME/perl/lib/perl5 ]; then
-    [[ $PERL5LIB =~ (^|:)$HOME/perl/lib/perl5($|:) ]] || \
-    export PERL5LIB=$HOME/perl/lib/perl5${PERL5LIB:+:$PERL5LIB}
-  fi
-
-  if [ -d $HOME/perl/lib64/perl5 ]; then
-    [[ $PERL5LIB =~ (^|:)$HOME/perl/lib64/perl5($|:) ]] || \
-    export PERL5LIB=$HOME/perl/lib64/perl5${PERL5LIB:+:$PERL5LIB}
-  fi
-
-  if [ -d $HOME/perl/lib/perl5/site_perl ]; then
-    [[ $PERL5LIB =~ (^|:)$HOME/perl/lib/perl5/site_perl($|:) ]] || \
-    export PERL5LIB=$HOME/perl/lib/perl5/site_perl${PERL5LIB:+:$PERL5LIB}
-  fi
-
-  if [ -d $HOME/perl/lib64/perl5/site_perl ]; then
-    [[ $PERL5LIB =~ (^|:)$HOME/perl/lib64/perl5/site_perl($|:) ]] || \
-    export PERL5LIB=$HOME/perl/lib64/perl5/site_perl${PERL5LIB:+:$PERL5LIB}
-  fi
-
-  if [ -d $HOME/perl/share/man ]; then
-    [[ $MANPATH =~ (^|:)$HOME/perl/share/man($|:) ]] || \
-    export MANPATH=$HOME/perl/share/man:${MANPATH:+$MANPATH}
-  fi
-
-  if [ -d $HOME/perl/bin ]; then
-    [[ $PATH =~ (^|:)$HOME/perl/bin($|:) ]] || \
-    export PATH=$HOME/perl/bin${PATH:+:$PATH}
-  fi
-fi
-
 # Local install paths - install things to $HOME/Installs directories, and
 # they will automatically get the proper paths added.  Most things
 # that use autoconf will do this with
@@ -156,33 +121,6 @@
   fi
 done
 
-## Add-ons for Intel compilers at work, and Condor
-#INTEL_ARCH=''
-#case `uname -p` in
-#  i[3456]86)
-#    INTEL_ARCH="ia32"
-#    ;;
-#
-#  x86_64)
-#    INTEL_ARCH="intel64"
-#    ;;
-#esac
-#[[ "$INTEL_ARCH" ]] && {
-#  [[ $PATH =~ (^|:)/usr/peyton/intel ]] || {
-#    [[ -f /usr/peyton/intel/11.0/bin/iccvars.sh ]] && \
-#     . /usr/peyton/intel/11.0/bin/iccvars.sh $INTEL_ARCH
-#    [[ -f /usr/peyton/intel/11.0/bin/ifortvars.sh ]] && \
-#     . /usr/peyton/intel/11.0/bin/ifortvars.sh $INTEL_ARCH
-#  }
-#}
-
-#if [ -f /u/condor/condor-setup.sh ]; then
-#  [[ $PATH =~ (^|:)/u/condor/hosts/`hostname -s`/sbin($|:) ]] || {
-#    export PATH=${PATH:+$PATH:}/u/condor/hosts/`hostname -s`/sbin
-#    . /u/condor/condor-setup.sh
-#  }
-#fi
-
 # Now make sure $HOME/bin is top of the list (or at least present)
 if [ -d $HOME/bin ]; then
   [[ $PATH =~ (^|:)$HOME/bin($|:) ]] || \