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