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
1 changed files with 2 additions and 0 deletions

2
bashrc
View File

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