-
Notifications
You must be signed in to change notification settings - Fork 2
Configuring
did
utilizes rc for configuration-management, and thus may optionally be
configured via a ~/.didrc
file. Configuration is not necessary, but can be
used to change did
's default behaviors.
Note that ~/.didrc
must contain only strict, valid JSON. This means that,
among other constraints:
- all property names must be double-quoted
- comments are forbidden
- trailing commas are forbidden
jq can be useful for diagnosing improperly formatted configs.
example-didrc is an example .didrc
file that you may copy and modify.
did
uses sqlite3 as its underlying database. The database
config value
allows you to specify where did
's database should reside on the filesystem.
[Default: ~/.did.sqlite3
]
The color to apply to entry ids when logged. May be any value accepted by
chalk. [Default: cyan
]
The color to apply to entry timestamps when logged. May be any value accepted
by chalk. [Default: green
]
The color to apply to entry text when logged. May be any value accepted by
chalk. [Default: white
]
The color to apply to entry text search matches when logged. May be any value
accepted by chalk. [Default: yellow
]
The date format to apply to log entry timestamps. May be any value accepted by
datejs. [Default: dd MMM | hh:mm tt
]
The editor that should be used for writing and editing log entries
interactively. [Default: EDITOR
]