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?
4
4
Christopher Crowley
@CCrowMontance
4 Apr 2016
@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
Replying to
@CCrowMontance
@CCrowMontance
Shell append still happens on exit only
Apr 4, 2016 · 5:40 PM UTC
1
Christopher Crowley
@CCrowMontance
4 Apr 2016
Replying to
@hal_pomeranz
@hal_pomeranz
- history -a in the prompt forces it at every prompt display. 😁
1
Hal Pomeranz
@hal_pomeranz
4 Apr 2016
@CCrowMontance
Sigh. Fine. Without actually running a command to explicitly update .bash_history...
1
1
more replies