summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-04-22 00:27:38 -0400
committerKyle Meyer <kyle@kyleam.com>2017-04-22 00:30:54 -0400
commit2202923cfb223befb1fa1e583cfa560f43044c0c (patch)
treee7266ca074df7a4019ce99093ba1230a953a6122
parente17b8ac9e88ab9cfdbd5e9eef1744a3f090411b1 (diff)
downloademacs.d-2202923cfb223befb1fa1e583cfa560f43044c0c.tar.gz
projectile: Ignore /gnu/store directories
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index e46888a..c1a0124 100644
--- a/init.el
+++ b/init.el
@@ -739,7 +739,8 @@
(defun km/projectile-ignore-directory-p (name)
(or (file-remote-p name)
- (string-prefix-p "/tmp/" name)))
+ (string-prefix-p "/tmp/" name)
+ (string-prefix-p "/gnu/store/" name)))
(setq projectile-ignored-project-function #'km/projectile-ignore-directory-p)
(projectile-register-project-type 'snakemake