From bd8fabdca22a180ff47e3d87642637cee3d0dc0f 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 acd7742..1cf48bf 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.