about summary refs log tree commit diff stats
path: root/emacs-prelude/personal
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-10 13:43:28 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-10 13:43:28 +0100
commitf184332a907e2387694e0fd16cd186bc228ce516 (patch)
tree56ebd90581e51cc0706c9a57a62671ed633f1d3a /emacs-prelude/personal
parentef218b37be439be8cb23f1eaea96f7b2b803e436 (diff)
downloaddotfiles-f184332a907e2387694e0fd16cd186bc228ce516.tar.gz
Add projectile-add-new-project
Diffstat (limited to 'emacs-prelude/personal')
-rw-r--r--emacs-prelude/personal/lisp/init-projectile.el4
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)
<boothj5@gmail.com> 2013-12-15 23:55:59 +0000 Added tests for "/account disable"' href='/danisanti/profani-tty/commit/tests/test_cmd_account.h?id=3c0bbed7178168d9be2cc6a6e120994ba2d0b96b'>3c0bbed7 ^
3c0bbed7 ^
e14b4ef5 ^


e14b4ef5 ^
52f6ad6f ^


52f6ad6f ^



9b41c4ee ^
8adca66f ^
3b2446c4 ^
f6da9444 ^


de06c40d ^
de06c40d ^
c20e38a4 ^


76e7a834 ^


ba66d6b7 ^

f47bd58a ^




7a63cf2e ^



6d6bc67d ^
122fe09c ^

122fe09c ^
f6da9444 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55