News for hackers. Stuff that matters.
Re:Bashhub – Bash History in the Cloud by maxgee on Tuesday December 08, 2015 @01:02AM (#10695055)
alias oops='history -d $((HISTCMD-2)) && history -d $((HISTCMD-1))'
Re:Bashhub – Bash History in the Cloud by dllthomas on Tuesday December 08, 2015 @01:07AM (#10695073)
Alas, not helpful here. The logging is done in PROMPT_COMMAND, meaning by the time you can type another command things are already logged and editing your history won't help. Hopefully (though I see no evidence of this, I've also only skimmed the material) things are marshalled somewhere locally and can be inspected/edited before being sent to the server.