Starship support.

This commit is contained in:
David Tomaschik
2022-05-08 16:01:23 -07:00
parent f6e6c42b26
commit 3c8d8ca5e1
2 changed files with 14 additions and 0 deletions

View File

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