diff --git a/.zshrc b/.zshrc index 81b30a0..46621b0 100644 --- a/.zshrc +++ b/.zshrc @@ -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