From 789be63677aab5efa526dc7144283bac91b7a757 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 16 Jun 2017 20:39:59 +1200 Subject: Allow setting a prompt mode for the shell --- zsh/zshrc.d/prompt.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/zshrc.d/prompt.zsh b/zsh/zshrc.d/prompt.zsh index 446e336e..6ff82cec 100644 --- a/zsh/zshrc.d/prompt.zsh +++ b/zsh/zshrc.d/prompt.zsh @@ -207,5 +207,5 @@ prompt() { esac } -# Start with full-fledged prompt -prompt on +# Default to a full-featured prompt, but use PROMPT_MODE if that's set +prompt "${PROMPT_MODE:-on}" -- cgit v1.2.3