diff options
author | Alan Pearce | 2017-04-24 16:25:55 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-24 16:25:55 +0200 |
commit | cc70e91eeeefc70bced1e1e126e3b0a2875e7899 (patch) | |
tree | 627acd90791d7e9c6f633f365d8d47ff00be608b /emacs | |
parent | 493ca6247b8fad2d6c20221e6baec59334e784ec (diff) | |
download | nixfiles-cc70e91eeeefc70bced1e1e126e3b0a2875e7899.tar.lz nixfiles-cc70e91eeeefc70bced1e1e126e3b0a2875e7899.tar.zst nixfiles-cc70e91eeeefc70bced1e1e126e3b0a2875e7899.zip |
Emacs: Use ghq to get dotfiles directory
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index da2a0f07..f5737ebd 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 (expand-file-name "~/projects/git.alanpearce.uk/alan/dotfiles/"))) + (projectile-switch-project-by-name (split-string (shell-command-to-string "ghq list --full-path dotfiles")))) #+END_SRC ** The Silver Searcher |