magicmonty / magicmonty/bash-git-prompt

Is there a way to make bash-git-prompt skipping one or more repos?

Open
#552 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
6.9k
Forks
983
Avg merge
13d 22h
Merged PRs (30d)
2

Description

I'm using bash-git-prompt on Ubuntu LTS with great benefit and satisfaction.

Now I cloned a repository that is very very very huge. Every time I cd into that repository many minutes passes before obtaining the prompt.

The question is: is that any way for having bash-git-prompt logic not applied to that directory, while keep working as usual on the others?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing bash-git-prompt's configuration and the prompt-refresh path triggered after changing directories. Determine how a repository can be identified and excluded without affecting other repositories, then verify that entering the very large repository returns promptly while normal Git prompt behavior remains unchanged elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli, developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.