Commit graph

2 commits

Author SHA1 Message Date
Michele Bologna
3ff5de73e2 Extract hg_status variable 2016-08-18 18:39:47 +02:00
Michele Bologna
194c5b1ca3 Added mercurial library
The added library parses output of the hg (mercurial) command, and outputs
the same variables (which should be customized by theme) in your prompt.
I added an example of these variables to michelebologna theme.

This patch should uniform all the behaviour of all themes regarding mercurial.
In fact, some themes implement their own hg parsing *inside* the theme.
This should be better implemented in a library, as happens with git library.
2015-09-27 10:41:02 +02:00