summaryrefslogtreecommitdiff
path: root/fish/functions/fish_vcs_prompt.fish
blob: 216244cc8d52ceebf2b2f7d38f70ac4cdb241f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function fish_vcs_prompt --description "Print all vcs prompts"
    # 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.
    fish_jj_prompt $argv
    or fish_git_prompt $argv
    or fish_hg_prompt $argv
    or fish_fossil_prompt $argv
    # 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
end