-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Short options -P
and -pp
do not take precedence over --paging=always
set in ~/.config/bat/config
#2128
Comments
Thank you for reporting this. I agree that this should be fixed. Can also be reproduced on the command-line. This opens a pager, but shouldn't:
|
This comment was marked as spam.
This comment was marked as spam.
PR #2201 was closed, but it does seem to solve this particular issue. |
The PR #2201 was later merged after being re-opened. It fixes the issue with the |
Hi, can I work on double pp overriding the paging, and paging overriding the double pp? |
Hi, I am linking a PR to address this issue #2330. If this doesn't solve or anything else is required, can someone please let me know? Thanks. |
Describe the bug you encountered:
I set
--paging=always
in my~/.config/bat/config
file. Then I can turn paging off by issuing the long optionbat --paging=never
. However neitherbat -P
orbat -pp
work.Note: this issue may affect also other short options, but I have tried only these ones.
What did you expect to happen instead?
Both
bat -P
andbat -pp
should disable paging.How did you install
bat
?sudo pacman -S bat
bat version and environment
Software version
bat 0.20.0 (0655ecf)
Operating system
Linux 5.16.15-arch1-1
Command-line
Environment variables
Config file
Compile time information
Less version
The text was updated successfully, but these errors were encountered: