Commit Graph

6 Commits (945c660856758b98ad70d06d5ec306a59c3045a7)

Author SHA1 Message Date
Eric Freese 011d8bdfd1 Refactor to remove prev cmd function and simplify escaping 9 years ago
Eric Freese 46d5fe174d Remove extra newline 9 years ago
Eric Freese a314a01a6a Fix various bugs found while testing 9 years ago
Eric Freese ab0f4c0bd0 Grammar and formatting 9 years ago
Eric Freese ee6dde9ee8 Rename escape command function 9 years ago
Geza Lore 73f774bd5d Add match_prev_cmd strategy.
A new suggestion strategy 'match_prev_cmd' is available. This is a bit
more context aware variaton on the default strategy.
The suggestion will be:
- The newest history entry that matches the current prefix, AND
- Whose preceding history entry also matches the previously executed
command.

See src/strategies/match_prev_cmd.zsh for an example.
9 years ago