Renames BULLETTRAIN_PROMPT_SEP_LINE to BULLETTRAIN_PROMPT_SEPARATE_LINE

This commit is contained in:
Caio Gondim
2015-09-23 22:11:05 +02:00
parent 2c33e04196
commit 86ce85b56b
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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%}'