Skip to content

Instantly share code, notes, and snippets.

@josePhoenix
Last active December 20, 2015 22:49
Show Gist options
  • Save josePhoenix/6208104 to your computer and use it in GitHub Desktop.
Save josePhoenix/6208104 to your computer and use it in GitHub Desktop.
Tricks.
# only use pager if output > terminal height
git config --global core.pager "less -F -X"
# color ls output
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# or for a black bg
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# color git (including diffs)
git config --global color.ui true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment