Skip to content

Commit

Permalink
fix: locale issue on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Jul 10, 2024
1 parent 641cf35 commit 3952cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .zshenv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ZSH envioronment

export LANG="en_US.UTF-8"
export LC_ALL=C
export LC_ALL="en_US.UTF-8"
export TERM=xterm-256color
export DEFAULT_USER=$USER
export EDITOR='emacsclient -a ""'
Expand Down
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ if [ -d $ZSH ] || [ -d $TMUX ] || [ -d $EMACSD ]; then
fi
fi

# Generate locale
if is_linux; then
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
fi

# Install Brew/apt-cyg
if is_mac && ! command -v brew >/dev/null 2>&1; then
printf "${GREEN}▓▒░ Installing Homebrew...${NORMAL}\n"
Expand Down

0 comments on commit 3952cbc

Please sign in to comment.