diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-08-10 13:43:28 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-08-10 13:43:28 +0100 |
commit | f184332a907e2387694e0fd16cd186bc228ce516 (patch) | |
tree | 56ebd90581e51cc0706c9a57a62671ed633f1d3a /emacs-prelude/personal/lisp/init-projectile.el | |
parent | ef218b37be439be8cb23f1eaea96f7b2b803e436 (diff) | |
download | dotfiles-f184332a907e2387694e0fd16cd186bc228ce516.tar.gz |
Add projectile-add-new-project
Diffstat (limited to 'emacs-prelude/personal/lisp/init-projectile.el')
-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) |