docs: Add label to git_prompt section

pull/1688/head
Noah Gorny 2020-10-31 23:02:09 +02:00
parent 0076db0efb
commit a717283163
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ It is possible for themes to ignore the ``SCM_CHECK`` flag and query specific ve
For example, themes that use functions like ``git_prompt_vars`` skip the ``SCM_CHECK`` flag to retrieve and display git prompt information. 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. 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.
.. _git_prompt:
Git prompt Git prompt
^^^^^^^^^^ ^^^^^^^^^^