From f9a48c70c4dd00c027eb72c23b324f374b4fcc12 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 6 Jun 2024 12:40:03 -0700 Subject: [PATCH] Use starship if available --- dotfiles/vim/pack/matir/start/fugitive | 2 +- dotfiles/zshrc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/vim/pack/matir/start/fugitive b/dotfiles/vim/pack/matir/start/fugitive index 2a53d79..4f59455 160000 --- a/dotfiles/vim/pack/matir/start/fugitive +++ b/dotfiles/vim/pack/matir/start/fugitive @@ -1 +1 @@ -Subproject commit 2a53d7924877b38b3d82fba188fd9053bfbc646e +Subproject commit 4f59455d2388e113bd510e85b310d15b9228ca0d diff --git a/dotfiles/zshrc b/dotfiles/zshrc index bfa1908..091a158 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -168,4 +168,7 @@ if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi if test -f "${HOME}/.zprompt" ; then THEME=${THEME:=$(cat "${HOME}/.zprompt")} fi +if command -v starship >/dev/null 2>&1 ; then + : ${THEME:=starship} +fi prompt "${THEME:-matir}" >/dev/null 2>&1