Configuration
Onyo configuration options can be set locally using git config or tracked in
the repository using onyo config.
git configshould be used for preferences of only local relevance, such asonyo.core.editor.onyo configstores values in.onyo/configwhich is tracked in the repository. These settings are shared with all consumers of an Onyo repository, making it useful for configuration related to common workflows, such asonyo.new.template.
Within the Onyo code, configuration options are read in the following order of precedence:
git config (which follows git’s own order of precedence: system, global, and repository local configuration files)
onyo config
Options
onyo.core.editorThe editor to use for commands such as
editandnew. If unset, it will fallback to the environmental variableEDITORand lastlynano. (default: unset)onyo.history.interactiveThe command used to display history when running
onyo history. (default: “tig –follow”)onyo.history.non-interactiveThe command used to print history when running
onyo historywith--non-interactive. (default: “git –no-pager log –follow”)onyo.new.templateThe default template to use with
onyo new. (default: “standard”)