2022-01-27 16:21:22 -08:00
|
|
|
function fish_vcs_prompt --description "Print all vcs prompts"
|
2019-07-15 17:31:35 +02: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 02:29:40 +09:00
|
|
|
fish_git_prompt $argv
|
|
|
|
or fish_hg_prompt $argv
|
2023-01-29 16:54:39 +01:00
|
|
|
or fish_fossil_prompt $argv
|
2020-03-01 17:03:15 +01: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 15:43:05 +01:00
|
|
|
end
|