Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using history in a command processor
- X-seq: zsh-users 13236
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh users mailing list" <zsh-users@xxxxxxxxxx>
- Subject: Re: using history in a command processor
- Date: Wed, 17 Sep 2008 21:57:09 -0700
- In-reply-to: <6cd6de210809171959pf390cafr7858b7769ccfde85@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210809171959pf390cafr7858b7769ccfde85@xxxxxxxxxxxxxx>
On Sep 17, 10:59pm, Rocky Bernstein wrote:
}
} In other words, what I'm looking for is an equivalent to what in bash is
} "history -s"
You want "print -s". Functions/Misc/sticky-note has an example of this.
So does Functions/Misc/zcalc, which effectively IS a command processor.
} Also, is there a way to delete an entry?
Only by having them fall off due to HISTSIZE or be skipped by one of the
HIST_IGNORE_* setopts.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author