Commit Graph

8 Commits

Author SHA1 Message Date
Geza Lore 11fbcc2089 Quoting fixes for zsh 5.0 2016-02-29 10:22:18 +00:00
Geza Lore 046b9051c3 Add option for matching on previous command.
Setting ZSH_AUTOSUGGEST_MATCH_PREV_CMD will enable the plug-in to be a
bit more context aware when generating the suggestion, by matching the
previously executed command against the command executed before the
preferred suggestion. See src/config.zsh for an example.

Also added testing for the suggestion computation.
2016-02-28 18:11:18 +00:00
Eric Freese cc921994e6 Fix #127 by adding quotes 2016-02-24 18:35:17 -07:00
Eric Freese ddb7284852 Fix backslash escaping problems with `echo -E`. 2016-02-23 20:11:56 -07:00
Eric Freese 6d25df6864 Revert usage of `fc` for suggestions and fix for sh_word_split.
Force field splitting on \0 to support sh_word_split option.
2016-02-16 10:51:01 -07:00
Eric Freese a2d8d91196 Actually fix suggestions when `sh_split_words` option is enabled. 2016-02-16 09:33:26 -07:00
Eric Freese ebcfc46b72 Comment formatting 2016-02-14 00:29:43 -07:00
Eric Freese 775dd20706 Rewrite 2016-02-06 21:05:02 -07:00