|
From: | Kevin Rodgers |
Subject: | Re: dired: "!" How to see not just result, but !-cmd too? |
Date: | Mon, 17 Jan 2005 09:40:13 -0700 |
User-agent: | Mozilla Thunderbird 0.9 (X11/20041105) |
David Combs wrote: > Problem: the dired "!"-cmd leaves only it's *output* in *Shell Command > Output*; sure be nice if it also left the *command* (and args) that > got *executed*. > > So that if you come back to that buffer later on, there's > no question as to what !-cmd you did "way back then" > to *create* the buffer! You can access previous shell commands at the `!' prompt via `M-p'. If you want to keep each Dired buffer's commands separate from other shell commands, try this: (add-hook 'dired-mode-hook (lambda () (make-local-variable 'shell-command-history))) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |