diff options
Diffstat (limited to 'misc/dotfiles')
-rw-r--r-- | misc/dotfiles/bashrc.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/dotfiles/bashrc.j2 b/misc/dotfiles/bashrc.j2 index 4a872fc..5c81f5f 100644 --- a/misc/dotfiles/bashrc.j2 +++ b/misc/dotfiles/bashrc.j2 @@ -7,6 +7,12 @@ fi # Specific settings for macOS. if [[ "$OSTYPE" == "darwin"* ]]; then +# Set `LC_CTYPE` compatible with Linux systems. macOS sets `LC_CTYPE` to +# `UTF-8`, when Terminal has 'Set locale environment variables on startup' +# checkbox ticked in settings. `UTF-8` doesn't seem like a valid value, so +# override it to more sensible one. +export LC_CTYPE=en_US.UTF-8 + # Silence bash deprecation warning. export BASH_SILENCE_DEPRECATION_WARNING=1 |