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

    The set -e option instructs bash to immediately exit if
    any command has a non-zero exit status. You wouldn't
    want to set this for your command-line shell,
...but, it's a great addition to your buddy's `.bashrc`. For maximum effectiveness, be physically present, perhaps with a camera. :)



Oooh, this is my new favorite. Previously it was "echo exit >> ~/.bashrc" ;)


Place this entire line @ the bottom of your target's .bashrc

    echo 'sleep .1' >> ~/.bashrc
By week 2 my poor friend had conditioned himself to work within 1 session since spawning new sessions became unbearably slow :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: