addet oh-my-posh sourcing

This commit is contained in:
pika 2024-06-08 15:06:36 +02:00
parent 367ac1a0f5
commit 7bebd83cbf

View file

@ -150,14 +150,19 @@ if command -v zoxide >/dev/null 2>&1
end end
# ─< starship >───────────────────────────────────────────────────────────────────────────── # ─< starship >─────────────────────────────────────────────────────────────────────────────
if command -v starship >/dev/null 2>&1 # if command -v starship >/dev/null 2>&1
function starship_transient_prompt_func # function starship_transient_prompt_func
starship module character # starship module character
end # end
starship init fish | source # starship init fish | source
enable_transience # enable_transience
else # else
curl -sS https://starship.rs/install.sh | sh && exec fish # curl -sS https://starship.rs/install.sh | sh && exec fish
# end
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
if command -v oh-my-posh >/dev/null 2&>1
oh-my-posh init fish --config ~/.config/fish/zen.toml | source
end end
# ─< set colorscheme for bobthefish >─────────────────────────────────────────────────────── # ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────