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

faster git prompt #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

faster git prompt #38

wants to merge 2 commits into from

Conversation

kodonnell
Copy link

On my env (fast laptop but WSL - which doesn't play nice with git) the current prompt_git was taking around 100ms, which was noticeable. Parsing git status is kinda nasty, but it seems to work and only takes 30ms. More of an FYI - feel free to reject etc.

.bash_prompt Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants