Hacker News new | past | comments | ask | show | jobs | submit login

    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: