Sample Header Ad - 728x90

Ignore history when using zsh

3 votes
2 answers
2271 views
I set the HISTORY_IGNORE variable in ~/.zshrc and it correctly prevents those commands from being written to ~/.zsh_history. But what I really want is for those entries not to show when pressing up and down. (Same as HISTIGNORE when using bash). How do I accomplish that?
Asked by lonix (1975 rep)
Jan 18, 2020, 04:58 AM
Last activity: Dec 8, 2024, 03:03 AM