Commit Graph

2 Commits (ae315ded4dba10685dbbafbfa2ff3c1aefeb490d)

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 #340 and #425). Or set to "?(#c50,)" to never
suggest anything 50 characters or longer (see issue #429).
6 years ago
Eric Freese 70f36c007d Finish renaming "default" strategy to "history" 7 years ago