Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Local history
- X-seq: zsh-workers 16261
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Local history
- Date: Fri, 16 Nov 2001 17:54:30 +0000
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1489.1005931641@xxxxxxx>
- Sender: kiddleo@xxxxxxxxxxxxxxxxx
Peter Stephenson wrote:
>
> I'm still thinking about a way of getting a local command history. My
> Does anyone have any experience of or feeling for this?
I don't have any suitable "experience of" but my feeling is that rather
than having separate mechanisms for making different things local
(traps, history, functions, options etc), it would be better if all
these things were available as parameters. Syntactically there then only
needs to be one way to manipulate these structures from the shell. The
syntax here might be just `local .sh.history'. I said something to this
effect on the shell list a while back in reference to local traps.
For these structures (history etc) to be implemented efficiently as
parameters compound variables would help but we might get round it by
just using special types. For some things it would just amount to things
in zsh/parameter being the real data.
Oliver
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp
Messages sorted by:
Reverse Date,
Date,
Thread,
Author