Created
December 1, 2015 22:20
-
-
Save JoshTGreenwood/443253f42fb80455792f to your computer and use it in GitHub Desktop.
Automatically add magit cloned repos to the projectile project list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun add-project-to-projectile-known-projects (_ directory) | |
(projectile-add-known-project directory)) | |
(advice-add 'magit-clone :after 'add-project-to-projectile-known-projects) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment