Skip to content

Can we set a custom pager? #1047

@paw-lu

Description

@paw-lu

Notices 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions