From 86ce85b56bda228d5c518f4c1567e200a95bc8dd Mon Sep 17 00:00:00 2001 From: Caio Gondim Date: Wed, 23 Sep 2015 22:11:05 +0200 Subject: [PATCH] Renames BULLETTRAIN_PROMPT_SEP_LINE to BULLETTRAIN_PROMPT_SEPARATE_LINE --- README.md | 2 +- bullet-train.zsh-theme | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 499a399..13981c7 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ or don't want to see. All options must be overridden in your **.zshrc** file. |--------|-------|-------| |`BULLETTRAIN_PROMPT_CHAR`|`\$`|Character to be show before any command |`BULLETTRAIN_PROMPT_ROOT`|`true`|Highlight if running as root -|`BULLETTRAIN_PROMPT_SEP_LINE`|`true`|Make the prompt span across two lines +|`BULLETTRAIN_PROMPT_SEPARATE_LINE`|`true`|Make the prompt span across two lines ### Status diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index be47335..9bebc20 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -22,8 +22,8 @@ fi if [ ! -n "${BULLETTRAIN_PROMPT_ROOT+1}" ]; then BULLETTRAIN_PROMPT_ROOT=true fi -if [ ! -n "${BULLETTRAIN_PROMPT_SEP_LINE+1}" ]; then - BULLETTRAIN_PROMPT_SEP_LINE=true +if [ ! -n "${BULLETTRAIN_PROMPT_SEPARATE_LINE+1}" ]; then + BULLETTRAIN_PROMPT_SEPARATE_LINE=true fi # STATUS @@ -455,7 +455,7 @@ build_prompt() { prompt_end } -if [[ $BULLETTRAIN_PROMPT_SEP_LINE == true ]] then +if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]] then PROMPT=' %{%f%b%k%}$(build_prompt) %{${fg_bold[default]}%}$(prompt_char) %{$reset_color%}'