quark-emacs icon indicating copy to clipboard operation
quark-emacs copied to clipboard

shell-command-to-string assumes local shell is available on remote

Open PythonNut opened this issue 6 years ago • 1 comments

PythonNut avatar Jul 19 '18 20:07 PythonNut

(advice-add
 'shell-command-to-string :around
 (my/defun-as-value nadvice/shell-command-to-string (old-fun &rest args)
   (let ((shell-file-name (my/detect-shell)))
     (apply old-fun args))))

PythonNut avatar Jul 20 '18 23:07 PythonNut