summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 098f3240..a1a0e0ce 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -523,9 +523,9 @@
               (interactive "P")
               (let ((project-dir (projectile-completing-read
                                   "Open project: "
-                                  (ghq--find-projects))))
+                                  (ghq--find-projects-full-path))))
                 (projectile-switch-project-by-name
-                 (expand-file-name project-dir (ghq--find-root)) arg)))
+                 project-dir arg)))
 
             (defun git-bug (bug)
               (interactive "sbug: ")