diff --git a/data/atuin/config.toml b/data/atuin/config.toml index 08ffc2e..7b442c6 100644 --- a/data/atuin/config.toml +++ b/data/atuin/config.toml @@ -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 diff --git a/data/zsh/top-zshrc b/data/zsh/top-zshrc index 8db393d..db0918c 100644 --- a/data/zsh/top-zshrc +++ b/data/zsh/top-zshrc @@ -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