News for hackers. Stuff that matters.
Re:Swiss File Knife – A Command Line Tools Collection by agumonkey on Friday February 19, 2021 @09:23AM (#26193437)
I wonder if shells history could have an option for this. Typing 90% levenstein distance commands just a few too many time as a signal ordered by freq.

You'd get logs of what you struggle on or do very often.

Re:Swiss File Knife – A Command Line Tools Collection by prepend on Friday February 19, 2021 @02:06PM (#26196690)
If I was smarter I could probably use that. I tried it in the beginning and was just basically keeping an infinite history by catting the history from my old machines into my new.

But then I started doing stuff outside of shell (windows, code snippets, jq and path snippets, etc) and it was getting to be a pain to grep through such a big file. So I applied the 5 minute rule and tried to rely on my laziness as an editor.

Also, while my file isn’t public I don’t keep anything sensitive or that would bother any past, present, or future employers and collaborators so sanitizing the shell history was starting to take time and make me worry that I might miss something.