config: sync filter atuin, zsh
parent
2c9b782535
commit
649f3483d9
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue