I just switched to Oh My Zsh
and I'm using the Avit theme.
When I type git log --oneline
my output seems to be piped to less
. It does this for whatever theme I use.
When I used bash
shell, it never cleared the screen to output those lines.
How do I set it up so that it doesn’t clear the screen to output lines but instead just output the lines after I type the command?
Here's a screenshot for reference:
which git
andecho $GITPAGER
. And second, ifgit --no-pager log --oneline
works as expected.git config --global core.pager ''
. If you answer this question, I will checkmark your post. :)