mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 08:41:13 +08: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
|
@ -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 New Issue
Block a user