Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: implicit previous command, only state what should change
- X-seq: zsh-workers 32857
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: implicit previous command, only state what should change
- Date: Mon, 14 Jul 2014 00:24:07 +0200
- In-reply-to: <874myk3ocp.fsf@debian.uxu> (Emanuel Berg's message of "Mon, 14 Jul 2014 00:06:46 +0200")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <874myk3ocp.fsf@debian.uxu>
Emanuel Berg wrote:
> $ grep user-home-directory *.el
>
> After that, I realize that it should have been
> `user-emacs-directory'.
>
> Is there a way to tell zsh to "execute the previous
> command again, only substitute the first argument for
> user-emacs-directory"? Like
>
> $ !!:1->user-emacs-directory
Like this:
% ^-home-^-emacs-
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author