2022-01-28 00:21:22 +00:00
|
|
|
function fish_vcs_prompt --description "Print all vcs prompts"
|
2019-07-15 15:31:35 +00: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-23 17:29:40 +00:00
|
|
|
fish_git_prompt $argv
|
|
|
|
or fish_hg_prompt $argv
|
2020-03-01 16:03:15 +00: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 14:43:05 +00:00
|
|
|
end
|