2022-01-28 08:21:22 +08:00
|
|
|
function fish_vcs_prompt --description "Print all vcs prompts"
|
2019-07-15 23:31:35 +08:00
|
|
|
# If a prompt succeeded, we assume that it's printed the correct info.
|
|
|
|
# This is so we don't try svn if git already worked.
|
2020-05-24 01:29:40 +08:00
|
|
|
fish_git_prompt $argv
|
|
|
|
or fish_hg_prompt $argv
|
2020-03-02 00:03:15 +08:00
|
|
|
# The svn prompt is disabled by default because it's quite slow on common svn repositories.
|
|
|
|
# To enable it uncomment it.
|
|
|
|
# You can also only use it in specific directories by checking $PWD.
|
|
|
|
# or fish_svn_prompt
|
2019-02-09 22:43:05 +08:00
|
|
|
end
|