mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-03-10 15:15:13 +08:00

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.