Johnny Lumberjack
Johnny Lumberjack

Reputation: 59

ZSH prompt starts with a percent sign on Hyper terminal

I'm using Hyper as my terminal on Linux Mint 19.2 and I've just installed ZSH with Oh My ZSH. when I open Hyper, a percentage sign appears before the prompt.

Here's a picture of the prompt's startup

Upvotes: 1

Views: 1974

Answers (1)

ekalin
ekalin

Reputation: 1012

That reverse-video % indicates an output that did not end with a newline:

/home/ekalin $ echo 'Hello, World'
Hello, World
/home/ekalin $ echo -n 'Hello, World'
Hello, World%
/home/ekalin $

So there must be something that's outputting a line without a newline. If it happens in every prompt, it should be in your prompt definition; if it happens only on session startup, it should be something from ~/.zshrc (or in a file sourced from there).

Upvotes: 1

Related Questions