Add atuin config and alias

This commit is contained in:
Tobias Reisinger 2024-02-27 20:35:38 +01:00
parent 867e1fa467
commit a1d2535956
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 35 additions and 0 deletions

View file

@ -71,6 +71,8 @@ alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
### conditionals
test -x "$(command -v atuin)" && alias hist-grep='atuin search'
test -x "$(command -v bat)" && alias cat='bat -pp'
test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first --no-quotes'

33
.config/atuin/config.toml Normal file
View file

@ -0,0 +1,33 @@
search_mode_shell_up_key_binding = "prefix"
secrets_filter = true
enter_accept = true
history_filter = [
"^pass",
]
[stats]
common_subcommands = [
"apt",
"autoinstall",
"autostart-manage",
"cargo",
"composer",
"dnf",
"docker",
"git",
"go",
"ip",
"kubectl",
"nix",
"nmcli",
"npm",
"pecl",
"pnpm",
"podman",
"port",
"systemctl",
"tmux",
"yadm",
"yarn",
]