Current behavior
When I set SPACESHIP_PROMPT_ORDER the promt is nolonger separeted on two lines.
Expected behavior
I expect the promt to be separated on two lines.
.zshrc)# Set Spaceship ZSH as a prompt
export SPACESHIP_EXIT_CODE_SHOW=true
export SPACESHIP_PROMPT_SEPARATE_LINE=true
export SPACESHIP_DIR_TRUNC=1
export SPACESHIP_DIR_TRUNC_REPO=true
export SPACESHIP_PROMPT_DEFAULT_PREFIX="馃 "
export SPACESHIP_PROMPT_ORDER=(
exit_code # Exit code section
user # Username section
dir # Current directory section
host # Hostname section
package # Package version
docker # Docker section
jobs # Background jobs indicator
git # Git promt
venv # virtualenv section
node # Node.js section
pyenv # Pyenv section
char # Prompt character
exec_time # Execution time
)
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
Spaceship version: version (3.5.0)
Zsh version: version(zsh 5.5.1)
Zsh framework: prezto
Zsh plugin manager: None
Terminal emulator: Hyper
Operating system: macOS
Before

After


Possible solution
Add line_sep where you want a line break.
@maximbaz Thanks that was simple.
Most helpful comment
Add
line_sepwhere you want a line break.https://github.com/denysdovhan/spaceship-prompt/blob/f242c20a044b113b5bbf77bd7d5547742f1018fb/spaceship.zsh#L69