Function: magit-do-async-shell-command

magit-do-async-shell-command is an autoloaded, interactive and byte-compiled function defined in magit-dired.el.

Signature

(magit-do-async-shell-command FILE)

Documentation

Open FILE with dired-do-async-shell-command.

Interactively, open the file at point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-dired.el
;;; Miscellaneous Commands

;;;###autoload
(defun magit-do-async-shell-command (file)
  "Open FILE with `dired-do-async-shell-command'.
Interactively, open the file at point."
  (interactive (list (or (magit-file-at-point)
                         (magit-read-file "Act on file"))))
  (require 'dired-aux)
  (dired-do-async-shell-command
   (dired-read-shell-command "& on %s: " current-prefix-arg (list file))
   nil (list file)))