From: Jan Kratochvil Date: Sat, 14 Jan 2012 19:29:06 +0000 (+0100) Subject: Move out PATH += $HOME/perl5/bin for quilt. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=933a1819ad8d9bff45888eeec2ebfe0c1bd66c0c Move out PATH += $HOME/perl5/bin for quilt. --- 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/"