quark-emacs
quark-emacs copied to clipboard
shell-command-to-string assumes local shell is available on remote
(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))))