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

Yes what I wrote doesn't exclude that. The only distinction is that you generally don't want all your sessions' histories interleaved. I.e. when you up-arrow, you only want your current session's history, without random things from other active sessions in there too. If you do want "everything you've ever done" including things from other sessions that started after your current session, it's easy to reload your history into your session. I have a 'rlh' (reload history) alias for that.


You always only have your current session history in each bash (unless you reload the history manually) so there is no interleaving.


Yeah I know, I was just making a distinction from cortesoft's "I want everything I've ever done" in my history. I was saying "so do I, except I want active sessions separate" (which as you point out, they are by default).




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

Search: