zsh-users
 help / color / mirror / code / Atom feed
From: Nick Croft <nicko@acay.com.au>
To: zsh-users@sunsite.dk
Subject: M-. should bring back last arg of prev cmd
Date: Wed, 20 Mar 2002 17:16:00 +1100	[thread overview]
Message-ID: <20020320061600.GF878@acay.com.au> (raw)

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


             reply	other threads:[~2002-03-20  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  6:16 Nick Croft [this message]
2002-03-20  7:53 ` John Buttery
2002-03-20 16:16 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020320061600.GF878@acay.com.au \
    --to=nicko@acay.com.au \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).