diff --git a/.bash_profile b/.bash_profile index 7530671..71456bb 100644 --- a/.bash_profile +++ b/.bash_profile @@ -31,7 +31,8 @@ export PATH="$PATH:$VCPKG_ROOT" # if executing interactively # execute .bashrc in the current login context case $- in -*i*) return ;; +*i*) ;; +*) return ;; esac [ -z "${PS1-}" ] && return [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" diff --git a/.bashrc b/.bashrc index 50beefa..127a74c 100644 --- a/.bashrc +++ b/.bashrc @@ -6,7 +6,8 @@ # case $- in -*i*) return ;; +*i*) ;; +*) return ;; esac [ -z "${PS1-}" ] && return