Skip to content
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

Arguments to less are replaced when using --pager #509

Closed
sharkdp opened this issue Feb 18, 2019 · 1 comment
Closed

Arguments to less are replaced when using --pager #509

sharkdp opened this issue Feb 18, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@sharkdp
Copy link
Owner

sharkdp commented Feb 18, 2019

(see #508)

bat currently mistakenly replaces arguments to less with the default arguments when using the --pager command-line option. So this does not work as expected:

bat --pager="less -FR" …

As a workaround, BAT_PAGER can be used:

export BAT_PAGER="less -FR"
@sharkdp
Copy link
Owner Author

sharkdp commented May 15, 2019

Fixed in v0.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant