Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

implicit previous command, only state what should change



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