3 ms·
I use zsh history and fzf as my second brain. I can recall complicated, long winded commands I executed years ago with a few key strokes. This makes ‘rememberi
by reddit_clone 2y ago
I use zsh history and fzf as my second brain. I can recall complicated, long winded commands I executed years ago with a few key strokes.
This makes ‘remembering’ syntax and flags less stress inducing. You only have to figure it out once. Fzf will pull it up for you in a second.
I also add #comments at the end of the commands to serve as search tags..
- IggleSniggle 2y agoI have 100% same process, including the adding of comments at the end to tag commands for future fzf searchability (although in practice I find the need for this pretty rare). Of course it does also presume keeping an appropriately long history, which from some of the comments in the article make me believe that I have long since forgotten that I needed to change that setting.
- trallnag 2y agoAre you backing up your command history?
- reddit_clone 2y agoNo. But I copy it over when I setup a new computer.