Zsh wants to autocorrect a command, with an _ before it

后端 未结 6 1539
终归单人心
终归单人心 2021-01-30 00:11

I just started using Zsh lately for some of the integrated support in the shell prompt for my Git status etc.

When I type in:

 ruby -v

6条回答
  •  你的背包
    2021-01-30 00:38

    You could make an alias:

    alias ruby='nocorrect ruby'

    It's what I did when zsh kept asking me if I meant .meteor when I typed meteor because auto-correct is still useful from time to time.

提交回复
热议问题