Last Updated: February 25, 2016
·
780
· descentintomael

Better Git Pager

By default git uses less to show everything, even if it fits on a single page. If you want it to switch to a cat like output when it will fit within your window, put this in your shell's resource file (*ahem* ~/.zshrc):

export GIT_PAGER='less -frx'