zsh-workers
 help / color / mirror / code / Atom feed
* implicit previous command, only state what should change
@ 2014-07-13 22:06 Emanuel Berg
  2014-07-13 22:24 ` Frank Terbeck
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Emanuel Berg @ 2014-07-13 22:06 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-07-17 13:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-13 22:06 implicit previous command, only state what should change Emanuel Berg
2014-07-13 22:24 ` Frank Terbeck
2014-07-13 22:50   ` Emanuel Berg
2014-07-14  2:08     ` Mikael Magnusson
2014-07-14 13:09       ` Emanuel Berg
2014-07-15  6:46 ` Bart Schaefer
2014-07-15 15:42   ` Emanuel Berg
2014-07-15 16:58 ` Peter Stephenson
2014-07-16  0:36   ` Emanuel Berg
2014-07-16 13:54     ` Peter Stephenson
2014-07-16 20:45       ` Emanuel Berg
2014-07-16 20:53         ` Bart Schaefer
2014-07-16 21:08           ` Emanuel Berg
2014-07-17  8:17         ` Peter Stephenson
2014-07-17 13:01           ` Emanuel Berg

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).