2 ms·
That's how bash works for me, I believe by the combination of these in my .profile: shopt -s histappend PROMPT_COMMAND="history -a"
by yjftsjthsd-h 2y ago
That's how bash works for me, I believe by the combination of these in my .profile:
shopt -s histappend
PROMPT_COMMAND="history -a"
- FungalRaincloud 2y agoI had something similar set up on my second to last work laptop. I had done some heavy customization that was mostly focused on common workflows for that job, but I have learned that I should still keep a backup even if most of it won't work elsewhere. I should have learned this lesson almost a couple decades ago when I lost all my emacs customizations on a personal computer. But instead, I decided to learn vim.