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

Option to disable ahead/behind counter of git segment #438

Closed
2 tasks done
LarsBauer opened this issue Feb 19, 2021 · 4 comments
Closed
2 tasks done

Option to disable ahead/behind counter of git segment #438

LarsBauer opened this issue Feb 19, 2021 · 4 comments
Labels
🚀 feat New feature

Comments

@LarsBauer
Copy link
Contributor

LarsBauer commented Feb 19, 2021

Prerequisites

  • I have read and understand the CONTRIBUTING guide
  • I looked for duplicate issues before submitting this one

Description

Hi,

I am trying to re-create the half-life theme of Oh My Zsh. It was really straight forward thanks to your excellent docs 🙌 I am quite happy with the looks except for the ahead/behind counter of the git status. Is there any setting I am missing to get rid of the counter?

Here is my current prompt
image

And this is the related configuration of the git segment:

{
  "type": "git",
  "style": "plain",
  "foreground": "#5FD7FF",
  "properties": {
    "prefix": "<#ffffff>on</> ",
    "branch_icon": "",
    "branch_ahead_icon": "",
    "branch_behind_icon": "",
    "branch_gone_icon": "",
    "branch_identical_icon": "",
    "working_color": "#D75F00",
    "staging_color": "#87FF00",
    "local_working_icon": "",
    "local_staged_icon": "",
    "status_separator_icon": " ",
    "display_status_detail": false
  }
}

I would like to contribute by submitting a PR but unfortunately I have no experience in go at all. It would be great if you could help me out.
Thanks in advance!

@JanDeDobbeleer
Copy link
Owner

We don't have that switch yet but it's definitely possible! Allow me to add that, it's not much work.

@JanDeDobbeleer JanDeDobbeleer added the 🚀 feat New feature label Feb 19, 2021
JanDeDobbeleer added a commit that referenced this issue Feb 19, 2021
@JanDeDobbeleer
Copy link
Owner

@LarsBauer incoming. It would be cool if you're down to create a PR to add this theme to the collection 🙏🏻

@LarsBauer
Copy link
Contributor Author

Wow, that was quick 🚀 Thanks a lot!
I would definitely like to submit the theme to your collection. I am submitting a PR once it's ready.

Copy link

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀 feat New feature
Projects
None yet
Development

No branches or pull requests

2 participants