Spaceship-prompt: Prompt span across two lines seems to breaks.

Created on 31 Jul 2018  路  2Comments  路  Source: denysdovhan/spaceship-prompt

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.

Relevant Zsh configuration (.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"

Environment

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

Screenshot

Before
screen shot 2018-07-31 at 22 16 17

After
screen shot 2018-07-31 at 21 37 05

screenshot
screen shot 2018-07-31 at 22 07 39

Possible solution

Most helpful comment

All 2 comments

@maximbaz Thanks that was simple.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olets picture olets  路  3Comments

gabrielpedepera picture gabrielpedepera  路  3Comments

gillesdemey picture gillesdemey  路  3Comments

xhaythemx picture xhaythemx  路  3Comments

doole picture doole  路  4Comments