Add atuin config and alias
This commit is contained in:
parent
867e1fa467
commit
a1d2535956
2 changed files with 35 additions and 0 deletions
|
@ -71,6 +71,8 @@ alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
|
||||||
|
|
||||||
### conditionals
|
### conditionals
|
||||||
|
|
||||||
|
test -x "$(command -v atuin)" && alias hist-grep='atuin search'
|
||||||
|
|
||||||
test -x "$(command -v bat)" && alias cat='bat -pp'
|
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'
|
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
33
.config/atuin/config.toml
Normal 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",
|
||||||
|
]
|
Loading…
Reference in a new issue