From 915ce78117009f5bc386520e698d7b9146474f62 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 4 Feb 2023 08:26:20 +0000 Subject: [PATCH] Update file dot_bashrc --- home/dot_bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home/dot_bashrc b/home/dot_bashrc index bf9ef062..2794c953 100644 --- a/home/dot_bashrc +++ b/home/dot_bashrc @@ -1,12 +1,6 @@ #!/usr/bin/env bash # shellcheck disable=SC1090,SC1091 -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return;; -esac - # Prefer US English export LANG="en_US" if [[ "$(hostname)" != *'-minimal' ]]; then @@ -23,6 +17,12 @@ if [ -f "$HOME/.config/shell/profile.sh" ]; then . "$HOME/.config/shell/profile.sh" fi +### Escape if shell not interactive +case $- in + *i*) ;; + *) return;; +esac + ### Fig / LC_ALL if [ "$BASH_SUPPORT" = 'true' ]; then if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then