Commit Graph

5 Commits (58c98a7739cded78f1a9aeaebb0a0a3e5c62cbf9)

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