我最近切换到 zsh,使用robbyrussell 的oh-my-zsh. 在此之前,我将 bash 与许多自定义内容一起使用,但我只遗漏了一件事,因为 zsh 试图“太聪明”:
oh-my-zsh
如果我输入git commit然后?zsh 会执行所有最近的git命令。不过,我真正想要的是执行所有以git commit(不仅仅是git)开头的命令。
git commit
git
我怎样才能在 (oh-my-)zsh 中实现这种行为?
zsh autocomplete oh-my-zsh command-history
autocomplete ×1
command-history ×1
oh-my-zsh ×1
zsh ×1