mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2026-10-02 15:53:45 +02: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:
1 parent
fc426bad45
commit
268ce32d69
1 file changed
+1
-1
@@ -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