From 6c5657be8ef5f36054524ba171f254d5d9073e24 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Sun, 9 May 2021 00:23:23 -0500 Subject: [PATCH] zprofile: Don't exit 'less' when everything fits the screen This aligns better with default `less` behavior and allows for 'growable content' when `less` is used as a substitute for `tail`. --- runcoms/zprofile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runcoms/zprofile b/runcoms/zprofile index acd77425..1cf48bfb 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -53,8 +53,8 @@ path=( # Set the default Less options. # Mouse-wheel scrolling has been disabled by -X (disable screen clearing). -# Remove -X and -F (exit if the content fits on one screen) to enable it. -export LESS='-F -g -i -M -R -S -w -X -z-4' +# Remove -X to enable it. +export LESS='-g -i -M -R -S -w -X -z-4' # Set the Less input preprocessor. # Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.