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

Re: Substitution



On Sun, 17 Apr 2005 18:32:56 +0530, Saket Sathe <saket@xxxxxxxxxxxxx> wrote:

Hi,
Suppose I've typed these commands:

# mv somefile1 /home/saket/stuff/books/
# acroread somefile.pdf
# mv somefile2 /home/saket/stuff/books/

How can I substitute the '/home/saket/stuff/books/' of the first command into the last command ?
Currently I just retype it again :(

I would push M-. twice. Assuming you have emacs bindings set as in "bindkey -e"

-Eric




Messages sorted by: Reverse Date, Date, Thread, Author