autin: config goodness
This commit is contained in:
parent
e191b29748
commit
1481603e9b
1 changed files with 22 additions and 2 deletions
|
@ -43,11 +43,12 @@
|
|||
## which filter mode to use
|
||||
## possible values: global, host, session, directory
|
||||
# filter_mode = "global"
|
||||
filter_mode = "session"
|
||||
|
||||
## With workspace filtering enabled, Atuin will filter for commands executed
|
||||
## in any directory within a git repository tree (default: false)
|
||||
# workspaces = false
|
||||
# workspaces = true
|
||||
workspaces = true
|
||||
|
||||
## 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"
|
||||
|
@ -58,6 +59,7 @@
|
|||
## the accepted values are identical to those of "search_mode"
|
||||
## leave unspecified to use same mode set in "search_mode"
|
||||
# search_mode_shell_up_key_binding = "fuzzy"
|
||||
search_mode_shell_up_key_binding = "prefix"
|
||||
|
||||
## which style to use
|
||||
## possible values: auto, full, compact
|
||||
|
@ -67,9 +69,11 @@ style = "compact"
|
|||
## the maximum number of lines the interface should take up
|
||||
## set it to 0 to always go full screen
|
||||
# inline_height = 0
|
||||
inline_height = 10
|
||||
|
||||
## Invert the UI - put the search bar at the top , Default to `false`
|
||||
# invert = false
|
||||
invert = true
|
||||
|
||||
## enable or disable showing a preview of the selected command
|
||||
## useful when the command is longer than the terminal width and is cut off
|
||||
|
@ -172,6 +176,8 @@ enter_accept = false
|
|||
## Alternatively, set env NO_MOTION=true
|
||||
# prefers_reduced_motion = false
|
||||
|
||||
prefers_reduced_motion = true
|
||||
|
||||
#[stats]
|
||||
# Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
|
||||
#common_subcommands = [
|
||||
|
@ -183,6 +189,20 @@ enter_accept = false
|
|||
# "pnpm",
|
||||
# "kubectl",
|
||||
#]
|
||||
#
|
||||
|
||||
[stats]
|
||||
common_subcommands = [
|
||||
"cargo",
|
||||
"go",
|
||||
"git",
|
||||
"nix",
|
||||
"npm",
|
||||
"yarn",
|
||||
"pnpm",
|
||||
"kubectl",
|
||||
"task",
|
||||
]
|
||||
# Set commands that should be totally stripped and ignored from stats
|
||||
#common_prefix = ["sudo"]
|
||||
#
|
||||
common_prefix = ["doas", "sudo"]
|
||||
|
|
Loading…
Reference in a new issue