-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Improve bfs -help with LESS already set #71
Comments
Yes, that makes sense. BTW, my code from #68 is buggy as mixes
After some more googling around I wouldn't touch that code - Thanks! |
Oh true. Better to just change how So if you feel like submitting a patch that just fixes the empty |
RE: @markus-oberhumer's #68
I think it makes sense to not override
LESS
, in case it's necessary forless
to work properly in the user's environment. But I can think of a couple improvements that would make sense:LESS
if it's empty. Similar to the newPAGER
handling. I thinkgit
ought to do the same thing.LESS
is nonempty, don't colorize the help. This should at least make it readable for you. And if you want the colors, you could doLESS= bfs -help
.But I just thought of a complication: if
$PAGER != less
, it's weird for$LESS
to affect the behaviour ofbfs help
. Thoughts?The text was updated successfully, but these errors were encountered: