aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_vcs_prompt.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-12-09 20:00:20 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-12-16 19:05:28 +0100
commitbaa6971a4615dd3cebaf90f5dc371bc5b57e0bbf (patch)
treec0ddad2dece425333e4e57c40db8909139bca95e /share/functions/__fish_vcs_prompt.fish
parentaefe08412454074ddc3a85e98e9449c2dfc8830f (diff)
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.
Diffstat (limited to 'share/functions/__fish_vcs_prompt.fish')
-rw-r--r--share/functions/__fish_vcs_prompt.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/functions/__fish_vcs_prompt.fish b/share/functions/__fish_vcs_prompt.fish
new file mode 100644
index 00000000..6695cfba
--- /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