-
Notifications
You must be signed in to change notification settings - Fork 0
Projects Path
Lukas Moeller edited this page Jul 20, 2024
·
2 revisions
This prompt is optimized to be speedy in big repositories. By default it will only enable checking for git changes in specified folder.
The default setup expects the projects you work on daily to be in the folder $HOME/code
. If you are not happy with that setup simply set the BB_PROMPT_PROJECTS_PATH="$HOME/whatever/you/desire
var to your desired path.
Note
It is also possible to deacitvate that behaviour completely by setting the BB_PROMPT_PROJECTS=false
to false.
flowchart TD
A{"BB_PROMPT_PROJECTS"};
A -- "true" --> B["only check for changes in `BB_PROMPT_PROJECTS_PATH`\n\n(default: `${HOME}/code`)"];
A -- "false" --> C["check for changes everywhere"];
B ----> D["vcs_info"];
C ----> D["vcs_info"];