Skip to main content

Fossil

What

Display fossil information when in a fossil repository.

Sample Configuration

{
"type": "fossil",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#193549",
"background": "#ffeb3b"
}

Properties

NameTypeDefaultDescription
native_fallbackbooleanfalsewhen set to true and fossil.exe is not available when inside a WSL2 shared Windows drive, we will fallback to the native fossil executable to fetch data. Not all information can be displayed in this case

Template (info)

default template
 \ue725 {{.Branch}} {{.Status.String}}

Properties

NameTypeDescription
.StatusFossilStatuschanges in the worktree (see below)
.Branchstringcurrent branch

FossilStatus

NameTypeDescription
.Modifiedintnumber of edited, updated and changed files
.Deletedintnumber of deleted files
.Addedintnumber of added files
.Movedintnumber of renamed files
.Conflictedintnumber of conflicting files
.Changedbooleanif the status contains changes or not
.HasConflictsbooleanif the status contains conflicts or not
.Stringstringa string representation of the changes above

Local changes use the following syntax:

IconDescription
+added
!conflicted
-deleted
~modified
>moved