config.toml

 1## where to store your database, default is your system data directory
 2## mac: ~/Library/Application Support/com.elliehuxtable.atuin/history.db
 3## linux: ~/.local/share/atuin/history.db
 4# db_path = "~/.history.db"
 5
 6## where to store your encryption key, default is your system data directory
 7# key_path = "~/.key"
 8
 9## where to store your auth session token, default is your system data directory
10# session_path = "~/.key"
11
12## date format used, either "us" or "uk"
13# dialect = "us"
14
15## enable or disable automatic sync
16# auto_sync = true
17
18## enable or disable automatic update checks
19# update_check = true
20
21## address of the sync server
22# sync_address = "https://api.atuin.sh"
23
24## how often to sync history. note that this is only triggered when a command
25## is ran, so sync intervals may well be longer
26## set it to 0 to sync after every command
27sync_frequency = "5m"
28
29## which search mode to use
30## possible values: prefix, fulltext, fuzzy, skim
31# search_mode = "fuzzy"
32
33## which filter mode to use
34## possible values: global, host, session, directory
35# filter_mode = "global"
36
37## which filter mode to use when atuin is invoked from a shell up-key binding
38## the accepted values are identical to those of "filter_mode"
39## leave unspecified to use same mode set in "filter_mode"
40# filter_mode_shell_up_key_binding = "global"
41
42## which style to use
43## possible values: auto, full, compact
44style = "full"
45
46invert = true
47
48## the maximum number of lines the interface should take up
49## set it to 0 to always go full screen
50# inline_height = 0
51
52## enable or disable showing a preview of the selected command
53## useful when the command is longer than the terminal width and is cut off
54# show_preview = true
55
56## what to do when the escape key is pressed when searching
57## possible values: return-original, return-query
58# exit_mode = "return-original"
59
60## possible values: emacs, subl
61# word_jump_mode = "emacs"
62
63## characters that count as a part of a word
64# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
65
66## number of context lines to show when scrolling by pages
67# scroll_context_lines = 1
68
69## prevent commands matching any of these regexes from being written to history.
70## Note that these regular expressions are unanchored, i.e. if they don't start
71## with ^ or end with $, they'll match anywhere in the command.
72## For details on the supported regular expression syntax, see
73## https://docs.rs/regex/latest/regex/#syntax
74# history_filter = [
75#   "^secret-cmd",
76#   "^innocuous-cmd .*--secret=.+"
77# ]
78
79## prevent commands run with cwd matching any of these regexes from being written
80## to history. Note that these regular expressions are unanchored, i.e. if they don't
81## start with ^ or end with $, they'll match anywhere in CWD.
82## For details on the supported regular expression syntax, see
83## https://docs.rs/regex/latest/regex/#syntax
84# cwd_filter = [
85#   "^/very/secret/area"
86# ]