config: sync filter atuin, zsh

main
sudo pacman -Syu 2024-04-04 17:31:22 +07:00
parent 2c9b782535
commit 649f3483d9
2 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,20 @@
style = "compact"
inline_height = 16
show_preview = true
# Sync with data/zsh/top-zshrc
history_filter = [
"^ls",
"^ll",
"^la",
"^cd$",
"^pwd$",
"^exit$",
"^builtin",
"^z$",
'^\[',
]
enter_accept = false
prefers_reduced_motion = true

View File

@ -2,7 +2,7 @@
# Put this on top of ~/.zshrc
# https://zsh.sourceforge.io/Doc/Release/Parameters.html#Parameters-Used-By-The-Shell
export HISTORY_IGNORE="(ls|ll|la|ls *|ll *|la *|cd|pwd|exit|builtin *|*:|z)"
export HISTORY_IGNORE="(ls|ll|la|ls *|ll *|la *|cd|pwd|exit|builtin *|*:|z|[*)"
export HISTSIZE=100000000
export SAVEHIST=$HISTSIZE