feat(starship): create plugin (#10947)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Andrew Xie 2023-04-21 16:59:58 +10:00 committed by GitHub
commit 07454029bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# ignore oh-my-zsh theme
unset ZSH_THEME
if (( $+commands[starship] )); then
eval "$(starship init zsh)"
else
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
fi