fix(alias-finder): suggest when the command starts with alias (#14309)

This commit is contained in:
Robby Russell authored and GitHub committed 2026-12-03 15:21:29 +01:00
1 parent dcc89a8063
commit e6647fae62
2 files changed
+15 -2

No files matched your search

+2
View File
@@ -58,6 +58,8 @@ Running the shortest `gs` shell alias that it found:
![image](https://github.com/ohmyzsh/ohmyzsh/assets/19378/39642750-fb10-4f1a-b7f9-f36789eeb01b)
It also looks through aliases you type, suggesting only ones that cover more of the command. With the kubectl plugin, `k get pods` suggests `kgp`, while `kgp` on its own suggests nothing.
### Options