Rename __fish_vcs_prompt -> fish_vcs_prompt

Still keep a stub under the old name for compatibility.
This commit is contained in:
Fabian Homborg 2019-02-09 15:43:05 +01:00
parent f2b08ec592
commit c771334924
3 changed files with 7 additions and 4 deletions

View file

@ -77,7 +77,7 @@ Colors used with their respective flags enabled:
Note that all colors can also have a corresponding "_done" color. E.g. $__fish_git_prompt_color_upstream_done, used right _after_ the upstream.
See also __fish_vcs_prompt, which will call all supported vcs-prompt functions, including git, hg and svn.
See also fish_vcs_prompt, which will call all supported vcs-prompt functions, including git, hg and svn.
\subsection fish_git_prompt-example Example

View file

@ -1,5 +1,3 @@
function __fish_vcs_prompt --description "Print the prompts for all available vcsen"
fish_git_prompt
__fish_hg_prompt
__fish_svn_prompt
fish_vcs_prompt
end

View file

@ -0,0 +1,5 @@
function fish_vcs_prompt --description "Print the prompts for all available vcsen"
fish_git_prompt
__fish_hg_prompt
__fish_svn_prompt
end