From baa6971a4615dd3cebaf90f5dc371bc5b57e0bbf Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 9 Dec 2015 20:00:20 +0100 Subject: [PATCH] Add __fish_vcs_prompt helper function This is supposed to be used by prompts so they'll get all known vcsen integrated. For now, there's no distinction between the different vcsen. --- share/functions/__fish_vcs_prompt.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 share/functions/__fish_vcs_prompt.fish diff --git a/share/functions/__fish_vcs_prompt.fish b/share/functions/__fish_vcs_prompt.fish new file mode 100644 index 000000000..6695cfbaa --- /dev/null +++ b/share/functions/__fish_vcs_prompt.fish @@ -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