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
# ─< starship >─────────────────────────────────────────────────────────────────────────────
if command -v starship >/dev/null 2>&1
function starship_transient_prompt_func
starship module character
end
starship init fish | source
enable_transience
else
curl -sS https://starship.rs/install.sh | sh && exec fish
# if command -v starship >/dev/null 2>&1
# function starship_transient_prompt_func
# starship module character
# end
# starship init fish | source
# enable_transience
# else
# 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
# ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────