Variable: dired-confirm-shell-command

dired-confirm-shell-command is a customizable variable defined in dired-aux.el.gz.

Value

t

Documentation

Whether dired-do-shell-command should prompt for confirmation.

If non-nil, prompt for confirmation if the shell command contains potentially unsafe wildcard characters. If nil, never prompt for confirmation.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;;###autoload
(defcustom dired-confirm-shell-command t
  "Whether `dired-do-shell-command' should prompt for confirmation.
If non-nil, prompt for confirmation if the shell command contains
potentially unsafe wildcard characters.  If nil, never prompt for
confirmation."
  :type 'boolean
  :group 'dired
  :version "29.1")