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

Pager invocation should respect pre-existing LESS #616

Open
afranchuk opened this issue Jun 21, 2024 · 1 comment
Open

Pager invocation should respect pre-existing LESS #616

afranchuk opened this issue Jun 21, 2024 · 1 comment

Comments

@afranchuk
Copy link
Collaborator

We hard-code the LESS environment variable here, however this is not the same as git's behavior, which will only set these variables when they are currently unset.

I'm doing this because I want to add a set of highlights when doing local auditing (to call out important things to audit). If I could, I'd just override PAGER, but it looks like we only look at the configured git pager.

@mystor
Copy link
Collaborator

mystor commented Jun 21, 2024

That seems like it should be easy enough to fix, if we change the behaviour to more closely match git's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants