如何搜索我的 zsh 别名?

Nei*_*l G 1 zsh alias

现在我做这样的事情:

cat ~/.oh-my-zsh/plugins/git/git.plugin.zsh | grep alias | grep rebase
Run Code Online (Sandbox Code Playgroud)

例如,搜索具有 rebase 的 git 别名。如何在所有定义别名的插件(或所有我定义的别名?)中搜索关键字?

ctx*_*ctx 6

man alias

If no operands are given, all alias definitions shall
be written to standard output.
Run Code Online (Sandbox Code Playgroud)

您可以使用alias