diff --git a/dot_bashrc.tmpl b/dot_bashrc.tmpl index 9e35b6d..05c095b 100644 --- a/dot_bashrc.tmpl +++ b/dot_bashrc.tmpl @@ -1,10 +1,11 @@ #!/usr/bin/env bash -# If not running interactively, don't do anything -[ -z "$PS1" ] && return . "${HOME}/.profile" -{{ if not (lookPath "starship") -}} +# if not running interactively, don't do anything more +[ -z "$PS1" ] && return + +{{- if not (lookPath "starship") }} if [[ -f "${XDG_CONFIG_HOME}/bash/prompt.sh" ]]; then # shellcheck disable=SC1090 source "${XDG_CONFIG_HOME}/bash/prompt.sh"