Created
February 8, 2015 22:33
-
-
Save mikebarkas/cdb07d51108aa219098b to your computer and use it in GitHub Desktop.
Keep less output in terminal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Application specific. | |
git config --global --replace-all core.pager "less -iXFR" | |
// Global system configuration. | |
// For Bash or Zsh. | |
export LESS=-iXFR | |
/* | |
* -i - ignore case when searching | |
* -X - do not clear screen on exit | |
* -F - exit if text is less then one screen long | |
* -R - was on by default, related to colors | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment