diff options
Diffstat (limited to 'emacs-prelude')
-rw-r--r-- | emacs-prelude/personal/lisp/init-projectile.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs-prelude/personal/lisp/init-projectile.el b/emacs-prelude/personal/lisp/init-projectile.el index d056bb8..e46e221 100644 --- a/emacs-prelude/personal/lisp/init-projectile.el +++ b/emacs-prelude/personal/lisp/init-projectile.el @@ -25,5 +25,9 @@ :custom (projectile-switch-project-action 'projectile-commander)) +(defun projectile-add-new-project (project-root) + (interactive (list (read-directory-name "Select project directory: " "~/src/"))) ;; TODO var + (projectile-add-known-project project-root) + (projectile-persp-switch-project project-root)) ;; TODO var (provide 'init-projectile) |