Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

right side #1

Open
lpuljic opened this issue Jun 27, 2018 · 2 comments
Open

right side #1

lpuljic opened this issue Jun 27, 2018 · 2 comments

Comments

@lpuljic
Copy link

lpuljic commented Jun 27, 2018

Hi,
Is it possible to make this work, if i use RPS1, it seems it only puts it in the middle and not on the right.
Thanks

@olemb
Copy link
Owner

olemb commented Nov 10, 2020

I've looked into this a little and it seems to be caused by the ANSI escape codes I use to set colors. If I remove them it puts it all the way to the right.

I'm not sure how to fix this at the moment but there must be a solution. I would be strange if RPS1 doesn't support colors.

(Are you using zsh by the way? That's what I tested with.)

@olemb
Copy link
Owner

olemb commented Dec 17, 2020

This seems to work in zsh:

RPS1='%F{yellow}Test%f'

I'm not sure how to integrate that in git-prompt. Maybe a -zsh flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants