From 7a3e2eaefc548228168a5fcc58c5ca6ab5044391 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 6 Jan 2023 00:03:11 +0000 Subject: [PATCH] Update 3 files - /home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl - /home/dot_bashrc --- ....tmpl => run_onchange_after_20-apply-settings.mjs.tmpl} | 0 home/dot_bashrc | 7 +++---- 2 files changed, 3 insertions(+), 4 deletions(-) rename home/.chezmoiscripts/universal/{run_onchange_after_20-apply-settings.tmpl => run_onchange_after_20-apply-settings.mjs.tmpl} (100%) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl similarity index 100% rename from home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.tmpl rename to home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl diff --git a/home/dot_bashrc b/home/dot_bashrc index 9c000dc9..ed374536 100644 --- a/home/dot_bashrc +++ b/home/dot_bashrc @@ -3,7 +3,9 @@ # Prefer US English export LANG="en_US" -export LC_ALL="en_US" +if [[ "$(hostname)" != *'-minimal' ]]; then + export LC_ALL="en_US.UTF-8" +fi # Detect support for advanced terminal features if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then @@ -17,9 +19,6 @@ fi ### Fig / LC_ALL if [ "$BASH_SUPPORT" = 'true' ]; then - if [[ "$(hostname)" != *'-minimal' ]]; then - export LC_ALL="en_US.UTF-8" - fi if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then . "$HOME/.fig/shell/bashrc.pre.bash" fi