|
|
@ -1,10 +1,11 @@
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
|
|
|
|
[ -z "$PS1" ] && return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. "${HOME}/.profile"
|
|
|
|
. "${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
|
|
|
|
if [[ -f "${XDG_CONFIG_HOME}/bash/prompt.sh" ]]; then
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
source "${XDG_CONFIG_HOME}/bash/prompt.sh"
|
|
|
|
source "${XDG_CONFIG_HOME}/bash/prompt.sh"
|
|
|
|