[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "alt-period" (alt-.) when previous command was backgrounded with &
From: |
Chet Ramey |
Subject: |
Re: "alt-period" (alt-.) when previous command was backgrounded with & |
Date: |
Sun, 18 Oct 2009 20:38:36 -0400 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Sitaram Chamarty wrote:
> Hello,
>
> When the previous command was backgrounded (say "gvim
> filename.c &") and then you try some other command using
> Alt-., it expands to "&" and not "filename.c".
>
> Is this considered a bug? Or correct behaviour that just
> happens to be not useful in this specific case?
M-. uses the last word from the previous line. If that happens to
be `&', that's what it uses.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/