Skip to content

Commit

Permalink
fix locale
Browse files Browse the repository at this point in the history
  • Loading branch information
civita committed Dec 1, 2021
1 parent ae1933b commit 5bc6a4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions rc/zshrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
export LC_CTYPE=C.UTF-8

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

Expand Down Expand Up @@ -101,8 +104,5 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh"
#

# echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
export LC_CTYPE=C.UTF-8

# autojump
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
7 changes: 0 additions & 7 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ function setup_zsh {
yes_or_no "Install zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)?" && /bin/zsh -c 'source ~/.zshrc && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting'
yes_or_no "Install zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions)?" && /bin/zsh -c 'source ~/.zshrc && git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions'
yes_or_no "Replace .zshrc ?" && cp rc/zshrc ~/.zshrc
if [ -n "$(uname -a | grep Ubuntu)" ]; then
if ! command -v sudo &> /dev/null; then
update-locale
else
sudo update-locale
fi
fi
}

function setup_screen {
Expand Down

0 comments on commit 5bc6a4e

Please sign in to comment.