summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-04-24 19:24:44 +0200
committerAlan Pearce2017-04-24 19:24:44 +0200
commit7f7087d808a6e441e6c3aa36aa8328e93f63d256 (patch)
treea2970082ab396070c268977087ad1447ae760497 /emacs
parentcc70e91eeeefc70bced1e1e126e3b0a2875e7899 (diff)
downloaddotfiles-7f7087d808a6e441e6c3aa36aa8328e93f63d256.tar.lz
dotfiles-7f7087d808a6e441e6c3aa36aa8328e93f63d256.tar.zst
dotfiles-7f7087d808a6e441e6c3aa36aa8328e93f63d256.zip
Emacs: Fix switch-to-dotfiles issue
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index f5737eb..5830055 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -432,7 +432,7 @@ configuration with crux.el
 #+BEGIN_SRC emacs-lisp
 (defun switch-to-dotfiles ()
   (interactive)
-  (projectile-switch-project-by-name (split-string (shell-command-to-string "ghq list --full-path dotfiles"))))
+  (projectile-switch-project-by-name (car (split-string (shell-command-to-string "ghq list --full-path dotfiles")))))
 #+END_SRC
 
 ** The Silver Searcher