Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Silly "trick" that I thought worth sharing
- X-seq: zsh-users 30459
- From: Perry Smith <pedz@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Silly "trick" that I thought worth sharing
- Date: Sat, 21 Mar 2026 09:42:24 -0500
- Arc-authentication-results: i=1; rspamd-6d4cb6745-9jz89; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@xxxxxxxxxxxxxxxx
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1774104156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=+T+F1hRkIIFHlj7npM6imGWVnamZbCPLEMaxMlFdVCA=; b=qmBnihBRvs36f7Cheo/tjjvk3i9f8PoccSVzdHCI6LltqU4p+Lkwusxbaa1reFe5l3/dCO 3Bk4z7tbkgLUizxoqyguMpwPR8TpeprSno0nNYCytDYAox9X/p7/Es4Bgkv05yUzw/0hyr Pj0cPJRUK1EuoMlypG2TK0ZRUsH+Dt9GIB8nkSSnPzN1NNLNhHbSSXXIe9CkQxqYxM1+Vf 1hdRKr5MrOqIxqjBDn6bpi6gpiB3C+8Wdj8Av8qx3YltqAOUh0cUQrFe+pqsKjx0cWTX+H 4+/lLKla/1JbPxBOgs3i2XJr/9xEvk1Zat8JegTH0rPpUDMSjfEddiEScshyCw==
- Arc-seal: i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none; t=1774104156; b=Bhzmm1GKuEUg6QpqrT8cNFwBM25bstrN4wi/9v9dgocy8DXZvhNUeDR1A5nj/6k/hQqTVC 0qCzXu4GNsSDItPi2z2qMs75+qGtLPKtwwN1iQ2tl8vaIujyKX1P/h1FG3aGWLbwF0SAWG uazYDbjROypsliDCubDDRoFxw+6eX2E7jlLZ5o0utyL9obGlLBZ8YJXX/zdUD7Mbk9qtFY ponAc/rKi6wohf7Vd3wQ5zhrKcoHZNHWjIbYo93YdaMPzfvmI2mtUtOkccegIDAko3IRDO KZDB9MuqynjAP+jO8I6vc0fefS5T+fhcHPuSJBFWwyjwnlsWSCuPat8sCvMKHw==
- Archived-at: <https://zsh.org/users/30459>
- List-id: <zsh-users.zsh.org>
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