From 933a1819ad8d9bff45888eeec2ebfe0c1bd66c0c Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sat, 14 Jan 2012 20:29:06 +0100 Subject: [PATCH] Move out PATH += $HOME/perl5/bin for quilt. --- .bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 54b4cce..faa50c5 100644 --- a/.bashrc +++ b/.bashrc @@ -8,7 +8,6 @@ if [ -n "$_home_short_dotbashrc_norc" -o "${TERM#norc-}" != "$TERM" ];then fi export PERL5LIB="$HOME/perl5/lib/perl5/`uname -m`-linux-thread-multi:$HOME/perl5/lib/perl5"; -export PATH="$HOME/perl5/bin:$PATH"; # "$PS1" for interactive shells detection. if [ -n "$PS1" -a -z "$_home_short_dotbashrc" ];then @@ -165,6 +164,9 @@ export EDITOR='vim' export PERL_LOCAL_LIB_ROOT="$HOME/perl5"; export PERL_MB_OPT="--install_base $HOME/perl5"; export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; +# Sometimes needed in non-interactive .bashrc. +# Unconditionally it would break quilt. +export PATH="$HOME/perl5/bin:$PATH"; for file in $HOME/.bookmarks.html;do export WWW_HOME="file://$HOME/" -- 1.8.3.1