4 ms·
Funnily enough, I find that the autocorrection tends to get in my way more often than not. Being prompted if I meant 'git' when I type 'gut' interrups my thinki
by Wilya 15y ago
Funnily enough, I find that the autocorrection tends to get in my way more often than not. Being prompted if I meant 'git' when I type 'gut' interrups my thinking flow, while 'command not found' doesn't. And the autocorrect is very bad for cp/mv ('mv test test1' will likely ask me if I meant 'test' instead of 'test1').
That being said, I'm a happy zsh user, for all it provides. Autocorrection is just one of the only things that, in my opinion, don't work well, so it's strange to market them.
- deleted 15y ago[deleted]
- sjs 15y agosetopt correct # try to correct spelling... setopt no_correctall # ...only for commands, not filenames https://github.com/samsonjs/config/blob/master/zsh/zshrc#L111-112 https://github.com/samsonjs/config/blob/master/zsh/zshrc#L11... [...] alias cp='nocorrect cp' # don't correct spelling for 'cp' alias mkdir='nocorrect mkdir' # don't correct spelling for 'mkdir' alias mv='nocorrect mv' # don't correct spelling for 'mv' https://github.com/samsonjs/config/blob/master/zsh/zshrc#L202-213 https://github.com/samsonjs/config/blob/master/zsh/zshrc#L20...