Set less encoding to utf-8

This should remove ugly output escapes in git.
This commit is contained in:
Talia 2018-11-26 13:01:40 +01:00
parent 2cb25c9c5b
commit f45068d86b

2
bashrc
View file

@ -23,6 +23,8 @@ stty -ixon
# Enable Vi editing mode # Enable Vi editing mode
set -o vi set -o vi
export LESSCHARSET=utf-8
git__prompt () { git__prompt () {
git rev-parse --show-toplevel > /dev/null 2>&1 git rev-parse --show-toplevel > /dev/null 2>&1
if [ $? = 0 ] if [ $? = 0 ]