Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



    setopt correct              # try to correct spelling...
    setopt no_correctall        # ...only for commands, not filenames
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#L20...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: