Commit 93714f3c authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(dired-smart-shell-command): Use

shell-command-history as in shell-command.
parent ca693be8
......@@ -823,7 +823,9 @@ cases in variable `default-directory-alist' (which see)."
(defun dired-smart-shell-command (cmd &optional insert)
"Like function `shell-command', but in the current Tree Dired directory."
(interactive "sShell command: \nP")
(interactive (list (read-from-minibuffer "Shell command: "
nil nil nil 'shell-command-history)
(let ((default-directory (default-directory)))
(shell-command cmd insert)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment