From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4252 invoked from network); 20 Mar 2002 07:14:55 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 20 Mar 2002 07:14:55 -0000 Received: (qmail 24092 invoked by alias); 20 Mar 2002 07:10:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4764 Received: (qmail 24073 invoked from network); 20 Mar 2002 07:10:51 -0000 Date: Wed, 20 Mar 2002 17:16:00 +1100 From: Nick Croft To: zsh-users@sunsite.dk Subject: M-. should bring back last arg of prev cmd Message-ID: <20020320061600.GF878@acay.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Editor: Vim http://www.vim.org/ Organisation: Theme and Variations X-Operating-System: Linux/2.2.14-12 (i686) X-Uptime: 17:14:47 up 8 days, 4:43, 8 users, load average: 0.00, 0.02, 0.06 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