diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-16 20:39:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-16 20:39:59 +1200 |
commit | 789be63677aab5efa526dc7144283bac91b7a757 (patch) | |
tree | 0f5a304039d66158eb04b83098aa51a0f8822473 /zsh | |
parent | Remove Nagios and Tmux submodules (diff) | |
download | dotfiles-789be63677aab5efa526dc7144283bac91b7a757.tar.gz dotfiles-789be63677aab5efa526dc7144283bac91b7a757.zip |
Allow setting a prompt mode for the shell
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zshrc.d/prompt.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
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}" |