mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Rename __fish_vcs_prompt -> fish_vcs_prompt
Still keep a stub under the old name for compatibility.
This commit is contained in:
parent
f2b08ec592
commit
c771334924
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
5
share/functions/fish_vcs_prompt.fish
Normal file
5
share/functions/fish_vcs_prompt.fish
Normal 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
|
Loading…
Reference in a new issue