From 061f72c187a2e438415116d48a1b8549b07f3b1f Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 28 Oct 2022 21:43:32 +0000 Subject: [PATCH] Update dotfiles/.bashrc --- dotfiles/.bashrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index fe2c5243..8ac9c46a 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -3,10 +3,12 @@ # Prefer US English export LANG="en_US" -export LC_ALL="en_US.UTF-8" -### Fig +### Fig / LC_ALL if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; 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 @@ -17,7 +19,7 @@ if [ -f "$HOME/.profile" ]; then . "$HOME/.profile" fi -COLOR_SCHEME=dark # dark/light +COLOR_SCHEME=dark alias ..='cd ..' alias cp='cp -v' @@ -240,7 +242,7 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then ### MOTD if [ -f "$HOME/.local/motd.sh" ] && { [ -n "$SSH_CONNECTION" ] && [ "$SHLVL" -eq 1 ] && [[ $- == *i* ]]; } || type qubes-vmexec &>/dev/null || type qubes-dom0-update &>/dev/null; then - if [ -z "$MOTD" ] || [ "$MOTD" -ne 0 ]; then + if { [ -z "$MOTD" ] || [ "$MOTD" -ne 0 ]; } && [[ "$(hostname)" != *'-minimal' ]]; then . "$HOME/.local/motd.sh" # TODO - -- services