From f45068d86b08aeedc3920ba1785a5b62e2633be9 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 26 Nov 2018 13:01:40 +0100 Subject: [PATCH] Set less encoding to utf-8 This should remove ugly output escapes in git. --- bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashrc b/bashrc index ea597d2..8c11648 100644 --- a/bashrc +++ b/bashrc @@ -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 ]