How to disable this pop-up warning for orgmode commands such as:
For which I would wish just to click once? Thanks!
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
(setq org-confirm-shell-link-function nil)
Shell links can be dangerous: just think about a link
[[shell:rm -rf ~/*][Google Search]]
This link would show up in your Org document as "Google 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".
C-h f org-confirm-shell-link-function
org-link-shell-skip-confirm-regexp. You can allow specific commands through it. But beware of the possibility of a command like
ls *.org && rm -rf ~/*:
^ls.* is obviously not enough.