From c7f63b1cfcd6412e8b425c3425404ebe449d5f5f Mon Sep 17 00:00:00 2001 From: saibotk Date: Wed, 23 Feb 2022 00:59:55 +0100 Subject: [PATCH] zsh: Use starship prompt --- shell/zshrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/shell/zshrc b/shell/zshrc index cb37dc7..eedd3bd 100644 --- a/shell/zshrc +++ b/shell/zshrc @@ -26,8 +26,14 @@ zstyle ':autocomplete:tab:*' widget-style menu-select zstyle ':autocomplete:*' fzf-completion yes zstyle ':autocomplete:*' min-input 2 -# ZSH Theme -znap prompt ohmyzsh/ohmyzsh robbyrussell +# ZSH prompt +if _has starship; +then + znap eval starship 'starship init zsh --print-full-init' +else + echo "You should try installing the starship prompt 🚀" + znap prompt ohmyzsh/ohmyzsh robbyrussell +fi # aliases alias ll='ls -l'