Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unsetopt banghist does not work.
- X-seq: zsh-workers 7324
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: unsetopt banghist does not work.
- Date: 30 Jul 1999 19:44:47 +0900
- In-reply-to: Peter Stephenson's message of "Fri, 30 Jul 1999 10:46:23 +0200"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <9907300846.AA31025@xxxxxxxxxxxxxxxxx>
In article <9907300846.AA31025@xxxxxxxxxxxxxxxxx>,
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> writes:
> The following ought to work (the first hunk is just because the logic
> confused me), but could everybody please try this on the favourite mode of
> history usage. Judging by the fact that it's been there for weeks, nobody
> uses nobanghist anyway.
Usually, I use nobanghist. :-)
But it is very rare case to use ! for a argument...
> I suppose I'm going to be told the following is just how history is
> supposed to work?
>
> % unsetopt banghist
> % echo !!
> !!
> % setopt banghist
> % !!
> zsh: no such word in event
This behaviour is different to zsh-3.1.5-pws-21 and zsh-3.1.5.
Z(2):akr@is27e1u11% zsh-3.1.5-pws-21 -f
is27e1u11% unsetopt banghist
is27e1u11% echo !!
!!
is27e1u11% setopt banghist
is27e1u11% !!
setopt banghist
is27e1u11%
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author