diff --git a/core/prelude-core.el b/core/prelude-core.el
index a4c4b68..3c7f4e5 100644
--- a/core/prelude-core.el
+++ b/core/prelude-core.el
@@ -47,7 +47,7 @@ With a prefix ARG always prompt for command to use."
                      ((and (not arg) (member system-type '(gnu gnu/linux gnu/kfreebsd))) "xdg-open")
                      (t (read-shell-command "Open current file with: ")))
                     " "
-                    buffer-file-name))))
+                    (shell-quote-argument buffer-file-name)))))
 
 (defun prelude-buffer-mode (buffer-or-name)
   "Retrieve the `major-mode' of BUFFER-OR-NAME."