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
parent 91c7ed45a3
commit 07454029bd
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