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

Ah, didn't know about that one. Thanx.

(But it still doesn't address the main issue.)



HISTCONTROL="ignorespace"

now you can keep a given command from history

find ...

<space>!! -delete


That's a nice feature.

Now it remains to be seen whether I can train myself to always precede "unsafe" find commands with a blank.




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

Search: