Hide project name when not in a project

This commit is contained in:
Tom Willemse 2016-10-08 15:20:35 +02:00
parent ad5ca813da
commit d2646d4d6d

View file

@ -677,7 +677,10 @@ To start off, first I need to enable lexical binding.
'(:eval '(:eval
(if (file-remote-p default-directory) (if (file-remote-p default-directory)
" P" " P"
(format " P[%s]" (projectile-project-name)))))) (let ((name (projectile-project-name)))
(if (string= "-" name)
""
(format " P[%s]" name)))))))
#+END_SRC #+END_SRC
Store projectile files in my data dir. Store projectile files in my data dir.