PAGER: Fix it for recent Fedoras.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index faa50c5..321bc2e 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -159,7 +159,7 @@ export IGNOREEOF=10
 # '2>/dev/null' to prevent: TMOUT: readonly variable
 [ -n "$SSH_TTY" ] && export TMOUT=900 2>/dev/null
 export EDITOR='vim'
 # '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_LOCAL_LIB_ROOT="$HOME/perl5";
 export PERL_MB_OPT="--install_base $HOME/perl5";
@@ -379,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
 ulimit -S -c 0
 set +H
 shopt -s mailwarn
+shopt -s direxpand
 unset OPTIND
 umask 022
 
 unset OPTIND
 umask 022