Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions runcoms/zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ path=(
#

# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X to enable it.
# We used '-X' to disable screen capturing, which disabled termcap init and
# deinit, instead now we use --redraw-on-quit to make the contents persist,
# while still supporting mouse-wheel scrolling.
if [[ -z "$LESS" ]]; then
export LESS='-g -i -M -R -S -w -X -z-4'
export LESS='-g -i -M -R -S -w -z-4 --redraw-on-quit'
fi

# Set the Less input preprocessor.
Expand Down