Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Silly "trick" that I thought worth sharing



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






Messages sorted by: Reverse Date, Date, Thread, Author