Aren't you basically asking zsh to show you empty strings so nothing comes back? -- Reply to: Kannan@ieee.org ________________________________ From: Ray Andrews Sent: Tuesday, June 4, 2024 11:00 AM To: Zsh Users Subject: history puzzle Trying to do fancier things with history I'm clearly not understanding something.  Doc says '^' is first word in a history entry and '$' is the last. But: % history -m "^" 1                  # Shows everything % history -m "^nosuchstring" 1      # Also shows everything % history -m "$" 1                  # Shows nothing ... so I'm obviously missing something.