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

Optionally hide "git:" #57

Closed
timscott opened this issue Sep 5, 2015 · 5 comments
Closed

Optionally hide "git:" #57

timscott opened this issue Sep 5, 2015 · 5 comments

Comments

@timscott
Copy link

timscott commented Sep 5, 2015

Thanks for git-radar!

The "git:" label is useful for like a day, then it becomes visual noise. Can it be suppressed?

@n10v
Copy link
Contributor

n10v commented Sep 6, 2015

@eproxus
Copy link

eproxus commented Sep 7, 2015

This is being worked on in #40.

@michaeldfallen
Copy link
Owner

#65 should provide the flexibility to do this. Thoughts?

@n10v
Copy link
Contributor

n10v commented Sep 17, 2015

It's good idea

@michaeldfallen
Copy link
Owner

The recent v0.4 release should satisfy this. Now you can just export GIT_RADAR_FORMAT and remove the parts you don't need.

Current default bash:

GIT_RADAR_FORMAT=" \x01\033[1;30m\x02git:(\x01\033[0m\x02%{remote: }%{branch}%{ :local}\x01\033[1;30m\x02)\x01\033[0m\x02%{ :changes}"

Without the git:( or ):

GIT_RADAR_FORMAT=" %{remote: }%{branch}%{ :local}%{ :changes}"

The prefix and suffix spaces are in there to space out the prompt, you could remove/replace those if you wanted as well.

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

4 participants