Variable: dired-confirm-shell-command

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

Value

t

Documentation

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

If non-nil, prompt for confirmation if the command contains potentially dangerous 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 to prompt for confirmation for `dired-do-shell-command'.
If non-nil, prompt for confirmation if the command contains potentially
dangerous characters.  If nil, never prompt for confirmation."
  :type 'boolean
  :group 'dired
  :version "29.1")