Floobits / flootty

A collaborative terminal.
Apache License 2.0
175 stars 25 forks source link

Can't use RPROMPT in zsh #15

Open jondkinney opened 10 years ago

jondkinney commented 10 years ago

The RPROMPT flows over to the next line unfortunately. I've disabled it for now, but it'd be great if flootty could support this!

screen shot 2013-09-25 at 11 53 40 am

Thanks!

ggreer commented 10 years ago

Weird. I can't reproduce this issue. I'm also using zsh on OS X, but my RPROMPT doesn't wrap.

There's almost certainly a smarter way to modify PS1 than how it's currently done: https://github.com/Floobits/flootty/blob/master/flootty/flootty.py#L752

What do your PS1 and RPROMPT look like?

jondkinney commented 10 years ago

My RPROMPT is using rvm to pull in that info

https://github.com/jondkinney/dotfiles/blob/master/zsh_conf/j2fly.zsh-theme#L44