Skip to content
Discussion options

You must be logged in to vote

It's because your $PAGER is exiting when the file is too small. If you're using less then remove -F from your $LESS variable.

This only happens with fish shell in bash it works as intended.

Check what the value of $PAGER and $LESS are under both shells. They are likely not the same, and hence the difference in behavior.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cunlem
Comment options

You must be logged in to vote
1 reply
@N-R-K
Comment options

N-R-K Sep 1, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants