X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=321bc2eb4e51640b7c8a5f5b50daca6614e474d6;hp=54b4cced4620f13b56810f317d7f998a43b268fe;hb=68dac3c83503b139c25ac16cd4c559012164b13f;hpb=71ef12ce37983d05abfc739b3c3005dad0e6cee3 diff --git a/.bashrc b/.bashrc index 54b4cce..321bc2e 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 @@ -160,11 +159,14 @@ export IGNOREEOF=10 # '2>/dev/null' to prevent: TMOUT: readonly variable [ -n "$SSH_TTY" ] && export TMOUT=900 2>/dev/null export EDITOR='vim' -[ -x /bin/less ] && export PAGER='/bin/less -MMh5cis' +[ -x /bin/less ] && export PAGER='/bin/less -rMMh5cis' 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/" @@ -377,6 +379,7 @@ function gpg {(unset gpg; http_proxy= all_proxy= HTTP_PROXY= ALL_PROXY= gpg "$@" ulimit -S -c 0 set +H shopt -s mailwarn +shopt -s direxpand unset OPTIND umask 022