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

'=' before the end sign appearing on every prompt with a git directory #2380

Closed
roysupriyo10 opened this issue Jul 12, 2023 · 4 comments
Closed

Comments

@roysupriyo10
Copy link

roysupriyo10 commented Jul 12, 2023

Ever since one of the last updates, I have been getting an '=' sign on the prompts inside a git directory. Attached image for description. Any help on how to remove it would be appreciated (by changing the prompt configs perhaps?).

20230712_08h03m26s_grim

20230712_08h07m23s_grim

20230712_08h07m58s_grim

However, only when there are no commits but the branch is ahead of HEAD, the '=' sign disappears

@roysupriyo10 roysupriyo10 reopened this Jul 12, 2023
@roysupriyo10 roysupriyo10 changed the title '= '=' before the end sign appearing on every prompt with a git directory Jul 12, 2023
@romkatv
Copy link
Owner

romkatv commented Jul 12, 2023

See #2377 (comment)

romkatv added a commit that referenced this issue Jul 12, 2023
…mote

#2361 requested an indicator for
up to date branches, which was added in
20323d6.

Since then, 3 users complained about the new indicator:

- #2377
- #2380
- #2361 (comment)

On one hand we have one request to add a feature. On the other hand we have
three complaints about the feature's existence. The feature is going away.
@romkatv romkatv closed this as completed Jul 12, 2023
@roysupriyo10
Copy link
Author

I think you have done enough to provide for a way to do this manually to the OP of the requestor. You could mention in the documentation if someone would want a feature such as this. In any case, now that I think of it, the feature is actually kind of useful. However, I would implement it manually using your posted config if I ever wanted to

@romkatv
Copy link
Owner

romkatv commented Jul 12, 2023

There is a comment in the generated ~/.p10k.zsh explaining how to achieve this:

# Tip: Uncomment the next line to display '=' if up to date with the remote.
# res+=" ${clean}="

There are other tips of this kind, too.

@roysupriyo10
Copy link
Author

thanks

YingchangLiu pushed a commit to YingchangLiu/dotfiles that referenced this issue Aug 10, 2024
…mote

romkatv/powerlevel10k#2361 requested an indicator for
up to date branches, which was added in
20323d6.

Since then, 3 users complained about the new indicator:

- romkatv/powerlevel10k#2377
- romkatv/powerlevel10k#2380
- romkatv/powerlevel10k#2361 (comment)

On one hand we have one request to add a feature. On the other hand we have
three complaints about the feature's existence. The feature is going away.
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