3 ms·
Interesting I didn't know that in screen you could isolate bash history per context.
by archmonk 9y ago
Interesting I didn't know that in screen you could isolate bash history per context.
- dllthomas 9y agoIt's not screen doing the work. Screen is just a process that spawns other processes, and like always those inherit environment variables. The script I have that starts screen defines a variable called "SESSION" beforehand, and that's used in my bashrc to set HISTFILE (and other things). Screen is just how I organize it.