diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-11-16 21:37:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-11-16 21:37:06 +0100 |
commit | 5577219eaf1b305801686ee29b489269180aa88b (patch) | |
tree | 3f03e3f394d39f08c8cb153e4e855662a63b720e /bashrc | |
parent | 7356f1ebf69617e3491d587666aae85f36b38d8d (diff) | |
download | bin-5577219eaf1b305801686ee29b489269180aa88b.zip bin-5577219eaf1b305801686ee29b489269180aa88b.tar.gz |
bashrc: git absolute path for HOME_, use it for ruby stuff
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,7 +54,7 @@ case $OSNAME in export PKG_PATH="ftp://mirror.switch.ch/mirror/OpenBSD/4.0/packages/i386/" ;; esac -HOME_=${HOME%/} +HOME_=$(readlink -f ${HOME%/}) set_if_not_in( ) { env_var=$1 @@ -86,7 +86,7 @@ export PERL5LIB=${LIBS}/perl/lib # RUBY # export RB_USER_INSTALL=1 # see /usr/local/lib/ruby/1.8/i386-freebsd7/rbconfig.rb export RUBYOPT=rubygems -export GEM_HOME="$HOME/.gem/ruby/1.9.1" +export GEM_HOME="${HOME_}/.gem/ruby/1.9.1" export RUBYLIB=${LOCALLIB}/ruby/ set_if_not_in 'PATH' ${GEM_HOME}/bin @@ -107,7 +107,7 @@ export TEXMFCONFIG=${TEXBASE}/texmf-config # export MFINPUTS=${TEXBASE}/texmf/fonts # prepend ~/bin to path if not already there -export PATH=${HOME}/bin:${PATH#${HOME}/bin:} +export PATH=${HOME_}/bin:${PATH#${HOME_}/bin:} export PKG_PATH=`which pkg-config 2>/dev/null` export LOCATEDB=$HOME/etc/locate.`hostname`.db |