all repos — nixfiles @ cc70e91eeeefc70bced1e1e126e3b0a2875e7899

System and user configuration, managed by nix and home-manager

Emacs: Use ghq to get dotfiles directory

Alan Pearce
commit

cc70e91eeeefc70bced1e1e126e3b0a2875e7899

parent

493ca6247b8fad2d6c20221e6baec59334e784ec

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -432,7 +432,7 @@
#+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