Can we set a custom pager? · Issue #1047 · bpython/bpython
Repository navigation
Can we set a custom pager? #1047
New issue
New issue
Open
Open
Can we set a custom pager? #1047
Description
@paw-lu's profile paw-lu opened on Nov 8, 2025Notices that when running bpython, actions that use the pager for me (F1 for help, python's help, etc), don't really do anything on my shell. After investigating it's because I have this:
echo $LESS --quit-if-one-screen # aka -F
Removing this solve the issue (mostly). Is there a way to set a custom pager for bpython? I'd like to keep this setting globally, and then omit this arg when bpython calls the pager. Not seeing any obvious way to do this (besides manually set it upon execution like LESS= bpython, but I think ideal solution would be a setting here).
btw bpython is great! Thanks a lot for sharing, creating, and maintaining it!