Clean up .bashrc.d/05local_paths and move towards ~/.local/*
authorW. Trevor King <wking@drexel.edu>
Thu, 8 Dec 2011 17:26:34 +0000 (12:26 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 8 Dec 2011 17:26:34 +0000 (12:26 -0500)
src/.bashrc.d/05local_paths

index 06c962f9ca4441ef1d66c4bc57bd3e62b71748a9..631e068cb9f967812924aafabe1861b15cf12b00 100644 (file)
@@ -4,10 +4,10 @@ if [ -d ~/lib ]; then
 fi
 
 # append personal manpages to manpath
-export MANPATH=":$HOME/share/man"
+export MANPATH=":$HOME/.local/share/man"
 
 # personalize latex path
-export TEXINPUTS=":.:$HOME/projects/latex/common/"
+export TEXINPUTS=":.:$HOME/.local/share/texmf/"
 
 # personalize font path (Gnuplot uses gd to find fancy fonts)
 GDFONTPATH="";
@@ -23,14 +23,14 @@ export GDFONTPATH
 # packages into ~/.local, which Python will pick up automatically.
 # This snippet is a relic of the days before `--user` when I used
 # `--prefix $HOME`.
-PYTHON_VERSION=$(python -c 'import sys; print ".".join([str(i) for i in sys.version_info[:2]])')
-export PYTHONPATH=".:$HOME/lib/python:$HOME/lib/python$PYTHON_VERSION/site-packages:$HOME/.python"
+#PYTHON_VERSION=$(python -c 'import sys; print ".".join([str(i) for i in sys.version_info[:2]])')
+#export PYTHONPATH=".:$HOME/lib/python:$HOME/lib/python$PYTHON_VERSION/site-packages"
 
 # personalize Java path (found by tracing from `which javac`)
-export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
+#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
 
 # personalize ruby and rubygems paths
 # from http://docs.rubygems.org/read/chapter/15
-PREFIX=$HOME
-export GEM_HOME=$PREFIX/lib/ruby/gems/1.8
-export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8
+#PREFIX=$HOME
+#export GEM_HOME=$PREFIX/lib/ruby/gems/1.8
+#export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8