2021-04-13 20:14:07 +02: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"
|
2023-02-07 10:10:57 +01:00
|
|
|
# dialect = "uk"
|
2021-04-13 20:14:07 +02:00
|
|
|
|
|
|
|
## enable or disable automatic sync
|
|
|
|
# auto_sync = true
|
|
|
|
|
2022-10-14 11:59:21 +02:00
|
|
|
## enable or disable automatic update checks
|
|
|
|
# update_check = true
|
|
|
|
|
2021-04-13 20:14:07 +02:00
|
|
|
## 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-05-10 22:28:07 +02:00
|
|
|
|
|
|
|
## which search mode to use
|
2021-06-01 09:38:19 +02:00
|
|
|
## possible values: prefix, fulltext, fuzzy
|
2021-05-10 22:28:07 +02:00
|
|
|
# search_mode = "prefix"
|
2022-10-05 14:14:56 +02:00
|
|
|
|
|
|
|
## which style to use
|
|
|
|
## possible values: auto, full, compact
|
|
|
|
#style = "auto"
|
2022-11-06 08:34:14 +01:00
|
|
|
|
|
|
|
## what to do when the escape key is pressed when searching
|
|
|
|
## possible values: return-original, return-query
|
|
|
|
# exit_mode = "return-original"
|
2023-02-14 08:14:05 +01:00
|
|
|
|
2023-03-05 19:49:09 +01:00
|
|
|
## possible values: emacs, subl
|
|
|
|
# word_jump_mode = "emacs"
|
|
|
|
|
|
|
|
## characters that count as a part of a word
|
|
|
|
# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
|
|
|
|
|
|
## number of context lines to show when scrolling by pages
|
|
|
|
# scroll_context_lines = 1
|
|
|
|
|
2023-02-14 08:14:05 +01:00
|
|
|
## prevent commands matching any of these regexes from being written to history.
|
|
|
|
## Note that these regular expressions are unanchored, i.e. if they don't start
|
|
|
|
## with ^ or end with $, they'll match anywhere in the command.
|
|
|
|
## For details on the supported regular expression syntax, see
|
|
|
|
## https://docs.rs/regex/latest/regex/#syntax
|
|
|
|
# history_filter = [
|
|
|
|
# "^secret-cmd",
|
|
|
|
# "^innocuous-cmd .*--secret=.+"
|
|
|
|
# ]
|