Set less encoding to utf-8
This should remove ugly output escapes in git.
This commit is contained in:
parent
2cb25c9c5b
commit
f45068d86b
1 changed files with 2 additions and 0 deletions
2
bashrc
2
bashrc
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in a new issue