addet oh-my-posh sourcing
This commit is contained in:
parent
367ac1a0f5
commit
7bebd83cbf
1 changed files with 13 additions and 8 deletions
21
config.fish
21
config.fish
|
@ -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 >───────────────────────────────────────────────────────
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue