[Plugin] adding starship
close my own issue: https://github.com/ohmybash/oh-my-bash/issues/627
I believe I didn't do anything wrong in the code
starship conflicts with a theme specified by OSH_THEME since both provide PS1. Shouldn't this be implemented as a theme?
In addition, our themes are supposed to be able to switch to another theme when requested, i.e. a theme can be unloaded and another theme can be loaded. Starship can be enabled by eval "$(starship init bash)", but is there a way to unload Starship in a Bash session where Starship was loaded?
starshipconflicts with a theme specified byOSH_THEMEsince both providePS1. Shouldn't this be implemented as a theme?
I based it on what ohmyzsh did, which is a plugin instead of a conventional theme
but is there a way to unload Starship in a Bash session where Starship was loaded?
Looking at the starship commands, I didn't find a way to turn it off in an active session
maybe I should add this giant warning:
⚠️ ENABLING THIS PLUGIN WILL UNSET YOUR OSH_THEME VARIABLE
?
Although providing an external theme through a "plugin" instead of a "theme" seems wrong, it should probably better for the consistency with the upstream Oh My Zsh.