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
|
||||
|
||||
# ─< 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 >───────────────────────────────────────────────────────
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue