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

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

    Just a note, on my zsh (version 5.7.1 on macOS), the DISABLE_CORRECTION didn't work.

    I saw in my .zshrc file the following two lines, which I then commented out

    setopt CORRECT
    setopt CORRECT_ALL
    

    That did it for me.

提交回复
热议问题