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

> > Automatically correct spelling errors during tab-completion; > I'm terrified to put this in my shell.

I had it in once (it's one the options in zsh setup)

Once I was cleaning my home directory:

    rm -rf tec<Tab>
    rm -rf IdeaProjects<Ret>
I'm a bit too quick to press enter after tab. So i deleted the wrong folder.

I do still have it auto correct case. So `doc<Tab> -> Documents`



This is why I delete to trash, even from a terminal. I use the trash-cli package on Debian/Ubuntu.

Also:

    alias rm 'rm -i'


-f overrides -i unfortunately.

(trash-cli sounds good, thanks for the tip)




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

Search: