From cbcc6e6fb6421d53d0033fbfdc54385b56376250 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 11 Jun 2022 11:06:56 -0700 Subject: [PATCH] zshrc fix --- dotfiles/zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index a8bb639..a28ad38 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -158,4 +158,7 @@ fi if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi # Set prompt based on local settings -prompt "${THEME:-matir}" +if test -f "${HOME}/.zprompt" ; then + THEME=${THEME:=$(cat "${HOME}/.zprompt")} +fi +prompt "${THEME:-matir}" >/dev/null 2>&1