Commit Graph

5 Commits (a32fe24acc746d24fc3ab5687a319552e9bae3ea)

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 973205005c Add spec for `completion` strategy 7 years ago
Eric Freese 9e110406fa Add test for special characters with match_prev_cmd strategy
Github #247 and #258
8 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux 9 years ago