Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
M-. should bring back last arg of prev cmd
- X-seq: zsh-users 4764
- From: Nick Croft <nicko@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: M-. should bring back last arg of prev cmd
- Date: Wed, 20 Mar 2002 17:16:00 +1100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organisation: Theme and Variations
Hi. Another question. You help has been much appreciated.
I learnt in an article by Dominic Mitchell "A Case for the Z Shell",
that M-. can be used as a shortcut for the last argument of the previous
command.
% cat /etc/networks
% ls -l /etc/hosts
% vi M-.
% vi /etc/hosts M-.M-.
% vi /etc/hosts /etc/networks
Question: Is this dependent on some setting in the .zshrc, or a setopt
command? I had it working a few days ago. I think it's the greatest
thing since sliced bread.
But it's gone, and I suspect I've overridden whatever it depended on.
Clues, anyone?
Nick
Messages sorted by:
Reverse Date,
Date,
Thread,
Author