If I'm about to run a complex or scary terminal command, I like putting echo in front of it:
$ echo dd if=/dev/urandom of=/dev/...
It's a nice way of having a last check of your command. The command is now in your scrollback, as well as your history.
miniblog.
Related Posts
LLMs are surprisingly good at reducing crash samples.
I've had success with "this project crashes my static analysis tool with the following command, try to shrink the repro whilst preserving the crash. Commit each smaller version to a branch".
Ooh, difftastic is now listed on the official git website!
I'm experimenting with jj this weekend. It seems pretty nice so far, but the mental model is pretty different from git.
For example, there's no `checkout` command. You do `jj new ABC` to switch to a commit, which creates a new empty commit on top of ABC.