keep stuff out of zsh history

This commit is contained in:
Daniel Lundin 2022-08-31 09:18:44 +02:00
parent 949fe999e3
commit a8c13a639b

1
.zshrc
View file

@ -33,6 +33,7 @@ setopt hist_save_no_dups
setopt hist_subst_pattern
setopt hist_verify
setopt share_history
export HISTORY_IGNORE="(ls *|cd *|rm *|pwd|reboot|exit|e *|*AWS*|*SECRET*|*PASSWORD*|*TOKEN*|*API*|*KEY*|*PASS*|*SECRETS*|*SECRET_KEY*|*SECRET_TOKEN*|*SECRET_KEY_BASE*|*SECRET_TOKEN_BASE*)"
## zsh settings