mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
I took a look at this answer http://unix.stackexchange.com/a/90876
and thus added the %{%}-delimiters around the `prompt_line_sep` whitespace.
Works for me and fixes #80
This commit is contained in:
@@ -473,7 +473,7 @@ prompt_char() {
|
||||
prompt_line_sep() {
|
||||
if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]]; then
|
||||
# newline wont print without a non newline character, so add a zero-width space
|
||||
echo -e '\n\u200B'
|
||||
echo -e '\n%{\u200B%}'
|
||||
fi
|
||||
}
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user