This commit is contained in:
David Tomaschik
2022-05-13 22:03:06 -07:00
parent 2ab9bd3452
commit dae254e240
3 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,11 @@ function dumpenv {
tr '\0' '\n' < /proc/${1}/environ
}
if test -x "${HOME}/tools/starship/starship" ; then
if test -x "/sbin/starship" ; then
function starship_prompt {
eval $(/sbin/starship init zsh)
}
elif test -x "${HOME}/tools/starship/starship" ; then
function starship_prompt {
eval $($HOME/tools/starship/starship init zsh)
}