News for hackers. Stuff that matters.
Re:Show HN: Sensible Bash: An attempt at saner Bash defaults by hornetblack on Wednesday March 02, 2016 @07:21PM (#11214186)
> > 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`

Re:Show HN: Sensible Bash: An attempt at saner Bash defaults by alphapapa on Wednesday March 02, 2016 @07:30PM (#11214222)
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'
Re:Show HN: Sensible Bash: An attempt at saner Bash defaults by zurn on Wednesday March 02, 2016 @10:51PM (#11214910)
-f overrides -i unfortunately.

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