Commit graph

7 commits

Author SHA1 Message Date
Warren Young
1a282e75e6
Merge 656bb18799 into f97e871c33 2025-03-19 19:21:35 +00:00
Warren Young
34cd8fbd4a
refactor(fossil): use fossil branch current supported since v2.7 ()
Using the automation-friendly "fossil branch current" feature added in
Fossil 2.7 instead of ad hoc parsing of human-readable "fossil branch"
output.  Not only does this fix a stray space in the output, it's more
robust against changes in command output in general.

Closes 
2022-10-14 20:15:50 +02:00
Warren Young
656bb18799 Reduced unnecessary space in Fossil plugin prompt
The prior version was way too opinionated, adding space between each element of the prompt string, unlike common Git prompt strings.  If the user wants more space, they can override our public variables to suit.  The inverse argument doesn't hold: it's easy to add space to existing variables, but not as easy to remove it after the fact.

As part of this, changed the branch name from red to blue (matching the preceding part of the prompt) so the red "X" added to indicate a dirty branch doesn't get lost in the branch name.
2022-08-30 00:49:05 -06:00
Marc Cornellà
a280726d93
fix(fossil): refactor fossil_prompt_info and quote % in branch 2022-01-03 14:00:54 +01:00
CGenie
7df7d5b4f1
feat(fossil): add completion for fossil add ()
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-12-28 19:04:45 +01:00
wahjava
e5d206c8c8
fix(fossil): PROMPT and RPROMPT are no longer exported ()
Fixes 
2021-03-15 23:27:57 +01:00
jgmdev
2bce3b1f58 Added fossil plugin. 2016-05-10 13:23:23 -03:00