Skip to content

Set up a config file for the persistent options #7

@strboul

Description

@strboul
  • Create a config file (e.g. $HOME/.config/git-substatus/config.json) for some options.

If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

For example:

{
  "styles": {
    "repository": {
      "color": "blue",
      "emphasis": "bold"
    },
    "stash": {
      "color": "green"
    }
  },
  "components": {
     "item_bullet": "",
     "display": {
       "directory": true,
       "branch": true,
       "stash": false
     }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions