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
Git User #1362
Comments
Any suggestions how to get current active GitHub user? Are you using |
When using oh-my-zsh I use the avit theme, and display my git name by adding |
You are confusing git with github. It's not the same. Git is a VCS. GitHub is a hosting (website) for Git repos. Yes, it's possible to display the result of |
Yes, I meant github user. This info is important to me when I'm in a folder that is a github repo, not on every command. |
Again, |
you right sorry for the confusion, but is it possible to show my git user when working on a project with git? |
Sure, you can do it yourselft. Here's a guide how to create a custom section: https://spaceship-prompt.sh/advanced/creating-section/#Typical-section-breakdown You can create your custom |
thanks @denysdovhan |
The problem
I work with several github accounts and to me it is useful to display my github user in my prompt
Describe the solution you'd like
Show the github user before the current directory like this:
where lobosan is my github username
Describe alternatives you've considered
No response
Documentation and adoption
No response
The text was updated successfully, but these errors were encountered: