Re: history expansion
Ray Andrews <[email protected]> Sun, 12 Jul 2026 07:51:12 -0700
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------WQ03m7KOGupGGzSk0zfRtdDH
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 2026-07-12 06:36, Mark J. Reed wrote:
> I use history substitution all the time. I'm occasionally annoyed by
> the need to extra-quote exclamation points, but not enough to give up
> the feature, which you can always turn off with *unsetopt banghist*.
Of all the impenetrable mysteries in zsh the most inscrutable is
completion. There must be, what? a dozen options all chewing on the
same bone. My zshrc has settings imported from somewhere and taken on
faith, I'm afraid to tinker because you can break something that's only
going to show up when the moon is full and then you forgot what you
changed and can't fix it. I often wonder if some philanthropist at some
time or other wrote a 'complete guide to completion' so that one might
confidently know how to control all that. As usual the power is awesome
but the skill to use it is hard to obtain.
--------------WQ03m7KOGupGGzSk0zfRtdDH
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 2026-07-12 06:36, Mark J. Reed
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA=-s3xAjkK1jcQ+zJFqNgF_1xkezLudrnenjttGxoZPMsUf0g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I use history substitution all the time. I'm
occasionally annoyed by the need to extra-quote exclamation
points, but not enough to give up the feature, which you can
always turn off with <b>unsetopt banghist</b>.</div>
</blockquote>
Of all the impenetrable mysteries in zsh the most inscrutable is
completion. There must be, what? a dozen options all chewing on the
same bone. My zshrc has settings imported from somewhere and taken
on faith, I'm afraid to tinker because you can break something
that's only going to show up when the moon is full and then you
forgot what you changed and can't fix it. I often wonder if some
philanthropist at some time or other wrote a 'complete guide to
completion' so that one might confidently know how to control all
that. As usual the power is awesome but the skill to use it is hard
to obtain.<br>
<br>
<br>
<br>
</body>
</html>
--------------WQ03m7KOGupGGzSk0zfRtdDH--