2021-04-13 12:14:07 -06:00
|
|
|
## where to store your database, default is your system data directory
|
2023-07-08 16:46:12 -06:00
|
|
|
## linux/mac: ~/.local/share/atuin/history.db
|
|
|
|
## windows: %USERPROFILE%/.local/share/atuin/history.db
|
2021-04-13 12:14:07 -06:00
|
|
|
# db_path = "~/.history.db"
|
|
|
|
|
|
|
|
## where to store your encryption key, default is your system data directory
|
2023-07-08 16:46:12 -06:00
|
|
|
## linux/mac: ~/.local/share/atuin/key
|
|
|
|
## windows: %USERPROFILE%/.local/share/atuin/key
|
2021-04-13 12:14:07 -06:00
|
|
|
# key_path = "~/.key"
|
|
|
|
|
|
|
|
## where to store your auth session token, default is your system data directory
|
2023-07-08 16:46:12 -06:00
|
|
|
## linux/mac: ~/.local/share/atuin/session
|
|
|
|
## windows: %USERPROFILE%/.local/share/atuin/session
|
|
|
|
# session_path = "~/.session"
|
2021-04-13 12:14:07 -06:00
|
|
|
|
|
|
|
## date format used, either "us" or "uk"
|
2023-04-05 02:32:26 -06:00
|
|
|
# dialect = "us"
|
2021-04-13 12:14:07 -06:00
|
|
|
|
|
|
|
## enable or disable automatic sync
|
|
|
|
# auto_sync = true
|
|
|
|
|
2022-10-14 03:59:21 -06:00
|
|
|
## enable or disable automatic update checks
|
|
|
|
# update_check = true
|
|
|
|
|
2021-04-13 12:14:07 -06:00
|
|
|
## address of the sync server
|
|
|
|
# sync_address = "https://api.atuin.sh"
|
2021-05-10 14:28:07 -06:00
|
|
|
|
2023-04-05 02:32:26 -06: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 = "1h"
|
|
|
|
|
2021-05-10 14:28:07 -06:00
|
|
|
## which search mode to use
|
2023-04-05 02:32:26 -06:00
|
|
|
## possible values: prefix, fulltext, fuzzy, skim
|
|
|
|
# search_mode = "fuzzy"
|
|
|
|
|
|
|
|
## which filter mode to use
|
|
|
|
## possible values: global, host, session, directory
|
|
|
|
# filter_mode = "global"
|
|
|
|
|
|
|
|
## which filter mode to use when atuin is invoked from a shell up-key binding
|
|
|
|
## the accepted values are identical to those of "filter_mode"
|
|
|
|
## leave unspecified to use same mode set in "filter_mode"
|
2023-05-24 16:00:01 -06:00
|
|
|
# filter_mode_shell_up_key_binding = "global"
|
2022-10-05 06:14:56 -06:00
|
|
|
|
|
|
|
## which style to use
|
|
|
|
## possible values: auto, full, compact
|
2023-04-05 02:32:26 -06:00
|
|
|
# style = "auto"
|
|
|
|
|
|
|
|
## the maximum number of lines the interface should take up
|
|
|
|
## set it to 0 to always go full screen
|
|
|
|
# inline_height = 0
|
|
|
|
|
|
|
|
## enable or disable showing a preview of the selected command
|
|
|
|
## useful when the command is longer than the terminal width and is cut off
|
|
|
|
# show_preview = false
|
2022-11-06 01:34:14 -06: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 00:14:05 -07:00
|
|
|
|
2023-03-05 11:49:09 -07: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 00:14:05 -07: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=.+"
|
2023-04-05 02:32:26 -06:00
|
|
|
# ]
|
2023-05-01 20:55:54 -06:00
|
|
|
|
|
|
|
## prevent commands run with cwd matching any of these regexes from being written
|
|
|
|
## to history. Note that these regular expressions are unanchored, i.e. if they don't
|
2023-05-24 16:00:01 -06:00
|
|
|
## start with ^ or end with $, they'll match anywhere in CWD.
|
2023-05-01 20:55:54 -06:00
|
|
|
## For details on the supported regular expression syntax, see
|
|
|
|
## https://docs.rs/regex/latest/regex/#syntax
|
|
|
|
# cwd_filter = [
|
|
|
|
# "^/very/secret/area"
|
|
|
|
# ]
|