Skip to content

Commit e7f6d79

Browse files
committed
add locale
1 parent 97badb0 commit e7f6d79

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.profile

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ export EDITOR=vim
1010
export PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\]\[\e[1;32m\]$(__git_ps1 " (%s)") \$\[\e[m\] \[\e[1;37m\]'
1111
export ACK_PAGER='less -FRX'
1212

13+
# locale
14+
OS=$(uname)
15+
if [ $OS == "Linux" ]; then
16+
export LC_ALL="en_US.utf8"
17+
else
18+
export LC_ALL="en_US.UTF-8"
19+
fi
20+
1321
# Use local bin before
1422
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
1523
if [ -d ~/bin ] ; then

0 commit comments

Comments
 (0)