Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
implicit previous command, only state what should change
- X-seq: zsh-workers 32856
- From: Emanuel Berg <embe8573@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: implicit previous command, only state what should change
- Date: Mon, 14 Jul 2014 00:06:46 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=uu.se; s=centralsmtp; t=1405289204; i=@uu.se; bh=M98MR5EJibs1Eikyrzh4SQTiXwcGoSnQosuNIC7a64o=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=IRfBEbwXMZWx38Oo0AwnXBVIzJLYGDXHFjJxH6h5KCYoBwq4rQO/r3pfjX+Zj0GsP 5HRGszHL6t0IFFcxE3sPB3B9pE0hTw4rcl8gguBoQVKimVT3tgWBX+An3J4iKXe3h+ L9+FlBjfB7NpFBuljkTVBv5VaaraGsmtPrrL7Wls=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-copies-to: never
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Let's say I write:
$ 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
if you see what I mean.
--
underground experts united
Messages sorted by:
Reverse Date,
Date,
Thread,
Author