nitter
Hal Pomeranz
@hal_pomeranz
4 Apr 2016
Trivia question - Does bash write to .bash_history any time other than on exit? If so, when?
Apr 4, 2016 · 5:32 PM UTC
4
4
SMITTY
@chaumurky
4 Apr 2016
Replying to
@hal_pomeranz
@hal_pomeranz
Any time the process gets a signal other than SIGABRT?
1
Hal Pomeranz
@hal_pomeranz
4 Apr 2016
@chaumurky
I haven't tested that. But assuming the signal doesn't cause the shell to exit, I'm willing to bet not.
1
more replies
Christopher Crowley
@CCrowMontance
4 Apr 2016
Replying to
@hal_pomeranz
@hal_pomeranz
- I looked up how to make the shell append. Is that what you're asking about? Or, a condition forcing writing to it?
1
Hal Pomeranz
@hal_pomeranz
4 Apr 2016
@CCrowMontance
Shell append still happens on exit only
1
more replies
Ken Connelly
@connellyuni
4 Apr 2016
Replying to
@hal_pomeranz
@hal_pomeranz
methinks history -a will do it
This tweet is unavailable
Hal Pomeranz
@hal_pomeranz
4 Apr 2016
@bilborg
Without explicitly running a command to update history...
1