zsh: Ignore commands starting with pass for history

This commit is contained in:
Marty Oehme 2025-12-08 13:02:35 +01:00
parent d9c88d99f3
commit e643a2e45d
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -158,7 +158,7 @@ setopt pushd_ignore_dups
export HISTSIZE=1000000
export SAVEHIST=1000000
export HISTFILE="$XDG_DATA_HOME/zsh_history"
export HISTORY_IGNORE="(jrnl *|l *|ls *|z *|cd *|cd -|pwd|pwd *|exit|date)"
export HISTORY_IGNORE="(jrnl *|pass *|l *|ls *|z *|cd *|cd -|pwd|pwd *|exit|date)"
## Set ZSH History aliases
# Show the top 5 commands used in recent history