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

I think a good solution to this would be to have it display the command it's going to run with a y/n prompt. It would only add one extra keystroke and make the utility a lot safer. I think I'll make a pull request or fork or something that does this this weekend if somebody hasn't already by then.



If it defaulted to yes, then running it would be,

    fuck<return><return>
which is probably good enough. (Pressing the same key twice is pretty much the same as pressing one key, but pressing two different keys is harder.)


I used to alias `rm` to `rm -i`, until I realized that I just pressed <return><y><return> without thinking.




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

Search: