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

Feature: add a new git_prompt_explain command to describe the current prompt to new-comers #487

Open
sandrotosi opened this issue Jan 1, 2022 · 0 comments

Comments

@sandrotosi
Copy link

Hello,
i just set up this in my bash terminal and it looks very nice! I'm sure at some point i'm going to remember all the symbols and stuff, but for now some of them are still a bit unclear what they are.

so it would be extremely helpful to have a new command, git_prompt_explain that provides a textual description of the terminal.

for example:

(extra info) [master ↑·7|✔]>

> git_prompt_explain
current branch: master
the branch is 7 commits ahead
the branch is clean

or

(extra info) [morph L|✚ 1 …2]>

current branch: morph
this is a local-only branch
1 file has been changed but not staged
there are 2 untracked objects in the repository
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

1 participant