From 26ad220e289f1dde91a38e9f1bc9218a4fada085 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 4 Aug 2012 09:35:19 -0500 Subject: [PATCH] .bashrc: export LESS="-FiRX" For non-screen'd shells, found that output that was less than a screenful was causing 'less' to: switch to temporary buffer, show output, terminate since it was less than a screenful (-F), and then return to original screen. Ugh. Passing -X (no termcap init) seems to fix this. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 37aa797..5764c0c 100644 --- a/.bashrc +++ b/.bashrc @@ -131,7 +131,7 @@ export EDITOR if test -n "$(command -v less)" ; then PAGER="less" MANPAGER="less" - LESS="-FiR" + LESS="-FiRX" export LESS else PAGER=more -- 2.45.2