fix pager to quit if all fits on one screen

This commit is contained in:
Nick Nisi
2016-05-12 10:16:49 -05:00
parent 24b149789d
commit b4765c5e9c

View File

@@ -71,7 +71,7 @@
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged" unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged"
# show the most recently touched branches # show the most recently touched branches
recent = "!git for-each-ref --sort='-committerdate' --format='%(color:red)%(refname)%(color:reset)%09%(committerdate)' refs/heads | sed -e 's-refs/heads/--' | less -r" recent = "!git for-each-ref --sort='-committerdate' --format='%(color:red)%(refname)%(color:reset)%09%(committerdate)' refs/heads | sed -e 's-refs/heads/--' | less -XFR"
# grep commands # grep commands