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

$ export HISTFILE=/dev/null



You want:

unset HISTFILE


Don't do that in your .bash_profile unless you run login shells on all of your terminals!

Setting HISTFILE propagates that setting to child shells - unsetting HISFILE does not.


Undefined = Default




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

Search: