mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 05:48:01 +00:00
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`.
This commit is contained in:
parent
fae5e493ec
commit
6c5657be8e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user