Commit Graph

2 Commits (c3d4e576c9c86eac62884bd47c01f6faed043fc5)

Author SHA1 Message Date
Eric Freese b87a4972c8 Allow configuring to ignore history entries matching a pattern
Set ZSH_AUTOSUGGEST_HISTORY_IGNORE to a glob pattern to have the history
and match_prev_cmd suggestion strategies never make suggestions matching
that pattern.

For example, set to "cd *" to never suggest any `cd` commands from
history (see issues  and ). Or set to "?(#c50,)" to never
suggest anything 50 characters or longer (see issue ).
Eric Freese 70f36c007d Finish renaming "default" strategy to "history"