dotfiles/config/atuin/config.toml

88 lines
2.4 KiB
TOML
Raw Permalink Normal View History

2024-12-27 01:15:02 +01:00
## which filter mode to use
## possible values: global, host, session, directory
filter_mode = "host"
## which style to use
## possible values: auto, full, compact
style = "compact"
## the maximum number of lines the interface should take up
## set it to 0 to always go full screen
inline_height = 30
## Invert the UI - put the search bar at the top , Default to `false`
invert = true
## Configure whether or not to show the help row, which includes the current Atuin
## version (and whether an update is available), a keymap hint, and the total
## amount of commands in your history.
show_help = true
## Configure whether or not to show tabs for search and inspect
show_tabs = false
## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command. Press tab to return to the shell and edit.
# This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
enter_accept = false
[stats]
## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
common_subcommands = [
# "apt",
# "cargo",
# "composer",
# "dnf",
"docker",
"git",
# "go",
# "ip",
"kubectl",
# "nix",
# "nmcli",
# "npm",
# "pecl",
# "pnpm",
# "podman",
# "port",
# "systemctl",
"terraform",
"tmux",
# "yarn",
]
## Set commands that should be totally stripped and ignored from stats
2025-01-13 10:23:50 +01:00
common_prefix = ["sudo", "doas"]
2024-12-27 01:15:02 +01:00
## Set commands that will be completely ignored from stats
ignored_commands = [
"cd",
"ls",
"vim"
]
[sync]
# Enable sync v2 by default
# This ensures that sync v2 is enabled for new installs only
# In a later release it will become the default across the board
records = true
[daemon]
## Enables using the daemon to sync. Requires the daemon to be running in the background. Start it with `atuin daemon`
# enabled = false
## How often the daemon should sync in seconds
# sync_frequency = 300
## The path to the unix socket used by the daemon (on unix systems)
## linux/mac: ~/.local/share/atuin/atuin.sock
## windows: Not Supported
# socket_path = "~/.local/share/atuin/atuin.sock"
## Use systemd socket activation rather than opening the given path (the path must still be correct for the client)
## linux: false
## mac/windows: Not Supported
# systemd_socket = false
## The port that should be used for TCP on non unix systems
# tcp_port = 8889