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

后端 未结 6 1471
终归单人心
终归单人心 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:28

    Sometime ago after an update, I got command auto-correction enabled which I don't want. If the same happened to you and you want to revert it, in the ~/.zshrc file you'll have make it:
    # Uncomment the following line to enable command auto-correction.
    ENABLE_CORRECTION="false"

    or comment it as per bellow:
    # Uncomment the following line to enable command auto-correction.
    # ENABLE_CORRECTION="true"

提交回复
热议问题