We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
counsel-locate-action-extern
On Windows 10 counsel-locate-action-extern just opens a cmd terminal (and then doesn't actually run start. The current version is:
cmd
start
(defun counsel-locate-action-extern (x) "Use xdg-open shell command, or corresponding system command, on X." (interactive (list (read-file-name "File: "))) (call-process shell-file-name nil nil nil shell-command-switch (format "%s %s" (cl-case system-type (darwin "open") (windows-nt "start") (t "xdg-open")) (shell-quote-argument x))))
Changing it to the following worked for me:
(defun counsel-locate-action-extern (x) "Use xdg-open shell command, or corresponding system command, on X." (interactive (list (read-file-name "File: "))) (if (eq system-type 'windows-nt) (w32-shell-execute "open" x) (call-process shell-file-name nil nil nil shell-command-switch (format "%s %s" (cl-case system-type (darwin "open") (t "xdg-open")) (shell-quote-argument x)))))
(I really should (re)learn how to make pull requests.)
The text was updated successfully, but these errors were encountered:
3d0e4a5
Thanks, I'll trust you that the fix will work.
Sorry, something went wrong.
No branches or pull requests
On Windows 10
counsel-locate-action-extern
just opens acmd
terminal (and then doesn't actually runstart
. The current version is:Changing it to the following worked for me:
(I really should (re)learn how to make pull requests.)
The text was updated successfully, but these errors were encountered: