jcsalterego
Range Encoding for Data Compression
Git-REPL: A Git REPL (read-eval-print loop) courtesy of rlwrap
Oh you know Software Architecture? Express it in an OKR
Stacksearch: Find the Best Publications
Jqq: An interactive wrapper around jq
TL: Load Twitter Lite Using WebKit on MacOS
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @08:28AM (#14106202)
(o)))><
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @08:26AM (#14106192)
I've tried zsh many times and it's not for me :'(
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @08:26AM (#14106187)
Yeah unfortunately it's just an opaque number now, basically.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @02:55AM (#14104728)
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @02:29AM (#14104613)
You should
ln -sf /dev/null ~/.bash_history
!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @02:06AM (#14104521)
I think it's more about the MacOS's add-ons to bash here than bash vs zsh -- but who knows!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:42AM (#14104422)
Nice!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:36AM (#14104398)
I'm quite happy that at least three historian-programmers have come together, here.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:16AM (#14104327)
Is your ssh password `ls`? That's not a great password.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:16AM (#14104325)
Ah, interesting!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:15AM (#14104323)
Most recently it seems to happen on a fresh restart.
Previously, it had to do with my usage of Terminal; I've had to touch ~/.bash_sessions_disable -- /etc/bashrc_Apple_Terminal has the nitty gritty.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @01:05AM (#14104291)
> Also, maybe you should consider backing up ~/.bash_history occasionally?
Oh yes.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:53AM (#14104260)
Sounds like good security though.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:51AM (#14104251)
Based on the differences between /etc/bashrc and /etc/zshrc, I don't think so, but I don't know for sure.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:49AM (#14104247)
There are more people like you, I bet!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:34AM (#14104189)
BRAAAAAAHMMM
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:30AM (#14104172)
Per the README I'm hoping to introduce a scrub command, but yeah -- if you have inline passwords in the commands you run, that's less than great.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:21AM (#14104142)
zsh history, from what I've seen a long time ago, can include timestamps, which is why I added a timestamp field in the schema, though it's currently unpopulated: https://github.com/jcsalterego/historian/blob/3bf7158b163d3f...
#soon
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:19AM (#14104139)
Hooray!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:19AM (#14104138)
FWIW, my understanding of sqlite is that it allows atomic operations against the same DB, even if there are different clients... so I would guess at worst the clobbering is minimal. I could be wrong, though.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:18AM (#14104134)
The documentation has failed - it's actually just an incrementing ID right now, not a frequency! I should make a clarification soon.
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:17AM (#14104130)
I tried!
Re:Historian: Because Please Stop Deleting My Bash History
on Thursday April 13, 2017 @12:16AM (#14104126)
Dangit