Variable: org-confirm-shell-link-function

org-confirm-shell-link-function is an alias and customizable for org-link-shell-confirm-function, defined in org-compat.el.

This variable is obsolete since 9.3; use org-link-shell-confirm-function instead.

Value

yes-or-no-p

Documentation

Non-nil means ask for confirmation before executing shell links.

Shell links can be dangerous: just think about a link

     [[shell:rm -rf ~/*][Web Search]]

This link would show up in your Org document as "Web Search", but really it would remove your entire home directory. Therefore we advise against setting this variable to nil. Just change it to y-or-n-p if you want to confirm with a single keystroke rather than having to type "yes".

Aliases

org-confirm-shell-link-function (obsolete since 9.3)