almost entirely based on kidonng's zoxide.fish made to match so that both can be initialized as plugins
Advantages over plain starship init fish | source
:
- Matches zoxide.fish (no more
init(s)
)! - Managed as a plugin, can be installed or disabled via plugin managers
-
fisher install interbattles/starship.fish
- config file:
set --universal starship_config ~/.config/starship.toml
(same asSTARSHIP_CONFIG=~/.config/starship.toml starship init
) - cache dir:
set --universal starship_cache ~/.starship/cache
(same asSTARSHIP_CACHE=~/.starship/cache starship init
)