diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 7ad6ba5..6d3d362 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -53,7 +53,9 @@ set -o noclobber export LC_ALL='' export TIME_STYLE="long-iso" # Used by GNU 'ls'. ## Set the default language. -if [ -r "$HOME/.config/locale.conf" ]; then +if [ -r "$HOME/.config/user-dirs.locale" ]; then + LANG="$(cat $HOME/.config/user-dirs.locale).UTF-8" +elif [ -r "$HOME/.config/locale.conf" ]; then . "$HOME/.config/locale.conf" fi case "$LANG" in