News for hackers. Stuff that matters.
Re:Making Hard Things Easy by cole-k on Friday October 06, 2023 @12:21PM (#37792784)
Can you think of a single CLI tool that would let me commit a past incantation to a file and retrieve it later? Especially one that syncs well across devices.

The best I can think of is Atuin (https://github.com/atuinsh/atuin) but I wasn't super interested in using it - I kind of want something more lightweight.

Re:Making Hard Things Easy by mmc on Friday October 06, 2023 @02:46PM (#37794595)
I've been using a little set of bash funcs I called `hs` for this for a few years:

https://github.com/mikemccracken/hs

your snippets are stored in a git repo that you can sync around how you like.