Silly "trick" that I thought worth sharing
Perry Smith <[email protected]> Sat, 21 Mar 2026 09:42:24 -0500
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
I like to do control-R and then search back to find commands in my history. I have two in particular to do an `ls /Volumes/EOS_DIGITAL/**/*(.)` so make sure Lightroom pull all the data I want to keep off the memory card and then another command to unmount the card. The pain point is that that path is used for other purposes sometimes so I can’t search back for `ls` … its too frequent and I can’t search back for `EOS` because sometimes it is used for other commands (like the unmount command). The silly trick is to add a comment afterwards and that will give me something unique to search for. e.g. 'ls /Volumes/EOS_DIGITAL/**/*(.) # verify` Now I can search back for `verify` and hit return. TL;DR - Use comments from the command line can be useful