diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index de827004..028f9d7c 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -1,6 +1,10 @@ #!/usr/bin/env bash # shellcheck disable=SC1090,SC1091 +# Prefer US English +export LANG="en_US" +export LC_ALL="en_US.UTF-8" + ### Fig if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then @@ -154,9 +158,6 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then if type gdircolors &>/dev/null && [ -f "$HOME/.config/dircolors" ]; then eval "$(gdircolors -b "$HOME/.config/dircolors")" fi - - # Prefer US English - # export LC_ALL="en_US.UTF-8" fi ### Miscellaneous diff --git a/dotfiles/.profile b/dotfiles/.profile index c58dbe4c..c59fa44f 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -265,9 +265,6 @@ export EDITOR="vim" # Don’t clear the screen after quitting a manual page export MANPAGER="less -X" -# Set language -# export LANG="en_US.UTF-8" - ### .local/bin export PATH="$PATH:$HOME/.local/bin" diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 52a554fe..a98b82b0 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -1,6 +1,10 @@ #!/usr/bin/env zsh # shellcheck disable=SC1090,SC1091,SC2034,SC2154,SC2296 +# Prefer US English +export LANG="en_US" +export LC_ALL="en_US.UTF-8" + ### Powerline if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" @@ -163,9 +167,6 @@ if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then eval "$(gdircolors -b "$HOME/.config/dircolors")" fi -# Prefer US English -export LC_ALL="en_US.UTF-8" - # ------------------------------- ZSH PLUGINS --------------------------------- # Plugin source helper _source_plugin() {