Added SCM_CHECK flag documentation.
parent
a90aabf6f9
commit
e318011894
17
README.md
17
README.md
|
|
@ -46,9 +46,26 @@ You can see the theme screenshots [here](https://github.com/revans/bash-it/wiki
|
|||
|
||||
## Misc
|
||||
|
||||
### Bash Profile Aliases
|
||||
Bash it creates a 'reload' alias that makes it convenient to reload
|
||||
your bash profile when you make changes.
|
||||
|
||||
### Prompt Version Control Check
|
||||
Bash it provides prompt themes the ability to check and display version control information for the current directory. The information is retrieved for each directory and can slow down the navigation of projects with a large number of files and folders. Turn version control checking off to prevent slow directory navigation within large projects.
|
||||
|
||||
Bash it provides a flag (`SCM_CHECK`) within the `~/.bash_profile` file that turns off/on version control information checking and display within all themes. Version control checking is on by default unless explicitly turned off.
|
||||
|
||||
Set `SCM_CHECK` to 'false' to **turn off** version control checks for all themes:
|
||||
|
||||
* `export SCM_CHECK=false`
|
||||
|
||||
Set `SCM_CHECK` to 'true' (the default value) to **turn on** version control checks for all themes:
|
||||
|
||||
* `export SCM_CHECK=true`
|
||||
|
||||
**NOTE:**
|
||||
It is possible for themes to ignore the `SCM_CHECK` flag and query specific version control information directly. For example, themes that use functions like `git_prompt_vars` skip the `SCM_CHECK` flag to retrieve and display git prompt information. If you turned version control checking off and you still see version control information within your prompt, then functions like `git_prompt_vars` are most likely the reason why.
|
||||
|
||||
## Help out
|
||||
|
||||
I think everyone has their own custom scripts accumulated over time. And so, following in the footsteps of oh-my-zsh, bash it is a framework for easily customizing your bash shell. Everyone's got a custom toolbox, so let's start making them even better, **as a community!**
|
||||
|
|
|
|||
Loading…
Reference in New Issue