Spaceship-prompt: Prompt has multiple new lines

Created on 19 Jan 2018  路  4Comments  路  Source: denysdovhan/spaceship-prompt

Issue

This may be pretty basic, but I am trying to figure out how to get rid of the initial line break after my blue arrow (more detail in screenshot)

Screenshot

screen shot 2018-01-19 at 10 33 51 am

Environment

Spaceship version: 3.0.2
Zsh version: 5.3
Zsh framework: oh-my-zsh
Zsh plugin manager:
Terminal emulator: iTerm2
Operating system: macOS

Relevant .zshrc

# Set Spaceship ZSH as a prompt
autoload -U promptinit; promptinit
prompt spaceship
question

Most helpful comment

Great feedback, all fixed up, thanks!

All 4 comments

No I didn't, and I didn't set that anywhere. I am not sure where in my prompt that little blue sideways triangle and newline is coming from

I didn't set that anywhere

Sorry, I wasn't clear. SPACESHIP_PROMPT_ADD_NEWLINE is true by default. If you don't want that, You could set it to false in your .zshrc.

little blue sideways triangle and newline

Those are marks added by iTerm2 shell integration.

Great feedback, all fixed up, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olets picture olets  路  3Comments

oldchevy picture oldchevy  路  3Comments

janjur picture janjur  路  3Comments

vburojevic picture vburojevic  路  3Comments

Vvkmnn picture Vvkmnn  路  3Comments