From 68dac3c83503b139c25ac16cd4c559012164b13f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 31 Jul 2013 15:52:53 +0200 Subject: [PATCH] PAGER: Fix it for recent Fedoras. +shopt -s direxpand --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index faa50c5..321bc2e 100644 --- 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' -[ -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"; @@ -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 +shopt -s direxpand unset OPTIND umask 022 -- 1.8.3.1