I like having the pager enabled for git log for example, but not git diff because I have my own visual diff tool that comes up, and I hate having to hit 'q' at the command line after the diff is done with. Is there a way to do this?
| |||
|
feedback
|
|
You can set the
Leave out | |||
|
feedback
|
|
Not a great solution, but you could have a git wrapper which determines what command you are running and pipes the output through cat to eliminate the terminal detection.
Of course my example program is entirely braindead. You would need to skip over options instead of hard-coding "$1" in the program. | |||
|
feedback
|