Commit Graph
5 Commits
Author SHA1 Message Date
Robby RussellandClaude Opus 5.5 8ee263a828 fix(alias-finder): suggest aliases when the command starts with an alias
The automatic hook searched the command exactly as typed, so `k get pods`
never matched `kgp='kubectl get pods'`. It now searches the alias-expanded
command zsh passes to preexec ($3). When the command started with an alias,
only aliases that cover more of the command are suggested, so typing `gst`
alone still prints nothing.

Closes #12040

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:29:14 -08:00
Roeniss MoonandCarlo Sala 537807c863 feat(alias-finder): use ripgrep if possible (#13043)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-07-21 18:58:09 +02:00
Tim Abell 0c9b42a863 docs(alias-finder): add some examples (#12502) 2024-06-13 18:08:14 +02:00
Roeniss Moon 13a8e3d98a feat(alias-finder): add cheaper option and apply zstyle options (#11773) 2023-08-24 17:12:59 +02:00
SomeDer 90a0de4698 Add alias-finder plugin (#7768) 2019-08-19 17:53:13 +02:00