2021-04-09 05:40:21 -06:00
|
|
|
# A'tuin example config
|
|
|
|
|
|
|
|
# This section specifies the config for a local client,
|
|
|
|
# ie where your shell history is on your local machine
|
|
|
|
[local]
|
2021-04-13 12:14:07 -06:00
|
|
|
## where to store your database, default is your system data directory
|
|
|
|
## mac: ~/Library/Application Support/com.elliehuxtable.atuin/history.db
|
|
|
|
## linux: ~/.local/share/atuin/history.db
|
|
|
|
# db_path = "~/.history.db"
|
|
|
|
|
|
|
|
## where to store your encryption key, default is your system data directory
|
|
|
|
# key_path = "~/.key"
|
|
|
|
|
|
|
|
## where to store your auth session token, default is your system data directory
|
|
|
|
# session_path = "~/.key"
|
|
|
|
|
|
|
|
## date format used, either "us" or "uk"
|
|
|
|
# dialect = "uk"
|
|
|
|
|
|
|
|
## enable or disable automatic sync
|
|
|
|
# auto_sync = true
|
|
|
|
|
|
|
|
## how often to sync history. note that this is only triggered when a command
|
|
|
|
## is ran, so sync intervals may well be longer
|
|
|
|
## set it to 0 to sync after every command
|
|
|
|
# sync_frequency = "5m"
|
|
|
|
|
|
|
|
## address of the sync server
|
|
|
|
# sync_address = "https://api.atuin.sh"
|
2021-04-09 05:40:21 -06:00
|
|
|
|
|
|
|
# This section configures the sync server, if you decide to host your own
|
|
|
|
[remote]
|
2021-04-13 12:14:07 -06:00
|
|
|
## host to bind, can also be passed via CLI args
|
|
|
|
# host = "127.0.0.1"
|
|
|
|
|
|
|
|
## port to bind, can also be passed via CLI args
|
|
|
|
# port = 8888
|
|
|
|
|
|
|
|
## whether to allow anyone to register an account
|
|
|
|
# open_registration = false
|
|
|
|
|
|
|
|
## URI for postgres (using development creds here)
|
|
|
|
# db_uri="postgres://username:password@localhost/atuin"
|