bash question: how to get it to append to history file immediately, w/o automatically making those commands propagated to all running shell instances? `PS0='$(history -a)'` kinda does it, but it doesn't move "already appended" pointer, so every time it writes all commands from the current session.
2 reposts1 like