I love the autocorrection feature of ZSH, but sometimes it gets in the way:
- If I have a
clidirectory, it will be suggested when I try to run
npm run ci.
- When running the Docker command
docker run -v /some/dir:/var/wwwit will try to autocorrect to
- ... and many more
Now I don't want to turn off autocorrection or prefix the command with
nocorrect. What I would like is more of a "learning" autocorrection that wraps around the normal suggestions, counts how many times I said "no" to a suggestion and does not suggest it any more if I've said "no" for 3 times. I something like this possible?