Browse Source

🐛: fix git pager for UTF8 emoji in 'git log'

Kyle P Davis 10 years ago
parent
commit
6d7afb63c9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gimmes/git

+ 2 - 0
gimmes/git

@@ -3,6 +3,8 @@ set -o errexit -o pipefail
 
 has git  ||  gimme_pkg git
 
+[[ "$(git config --global --get core.pager)" ]]  ||  git config --global core.pager 'less --raw-control-chars'
+
 [[ "$(git config --global --get color.ui)" ]]  ||  git config --global color.ui true
 
 [[ "$(git config --global --get push.default)" ]]  ||  git config --global push.default simple