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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 PAGER env variable will omit command line parameters #1684

Open
XhstormR opened this issue May 4, 2024 · 0 comments
Open

馃悰 PAGER env variable will omit command line parameters #1684

XhstormR opened this issue May 4, 2024 · 0 comments

Comments

@XhstormR
Copy link

XhstormR commented May 4, 2024

I set the Pager environment variable to use ov as the pager with the -F option:

export PAGER='ov -F'

Pager environment variables work, but the -F parameter does not take effect, -F stands for quit if the output fits on one screen. I guess it may be because it is not included in quotes when passing delta paging, causing the -F parameter to be lost.

-F in the env variables not take effects, still in the pager:
image

I have to config pager in git config files, will take the -F options:

    pager = delta --pager='ov -F'

-F in the git config files works:

image
@XhstormR XhstormR changed the title 馃悰 PAGER env variable missing command line parameters 馃悰 PAGER env variable will omit command line parameters May 4, 2024
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

1 participant