Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Global History Substitution
- X-seq: zsh-users 9612
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Global History Substitution
- Date: Thu, 3 Nov 2005 14:07:47 -0500
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Is there a way to do global substitution on the previous command in ^
notation? For instance,
$ echo a b b b
$ ^b^beta^
yields
$ echo a beta b b
Certainly I could do !!:gs/b/beta. This isn't near as simple as
something like gs/b/beta or ^b^beta^g. Anything I'm missing in the
manual?
Thanks!
--
Chris Johnson
cjohnson@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author