Skip to content

Commit

Permalink
- env: upstream renamed LESS_ONESCREEN_OFFSET to LESS_SHELL_LINES
Browse files Browse the repository at this point in the history
also changed the semantics, it's now an offset from 0 rather than 1.
unfortunately, was not given a chance to make changes to the patch
myself to suit the upstream author.  oh well, the feature is there.
  • Loading branch information
smemsh committed Aug 16, 2024
1 parent 3342051 commit 54d8283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.d/env
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ type -p lesspipe.sh &>/dev/null &&
esetenv LESSOPEN "|lesspipe.sh %s"

# because our PS1 has a newline, see upstream PR 514
esetenv LESS_ONESCREEN_OFFSET 1
esetenv LESS_SHELL_LINES 2

# tell redhat tools (eg 'service') not to use dbus and not to
# use systemd and to stop dbus from launching automatically
Expand Down

0 comments on commit 54d8283

Please sign in to comment.