Open arora-aman opened 4 years ago
cc: @Azhng @9at8 @fan70m @Daniel-Wang
Should be an easy change, we already store the root path config, we just need to make that an array and loop through it.
Though for recursive git project it might be a bit more involved, there might be potentially a lot of project that we need to go through, makeing fk cd
too expensive might not be a great idea
Maybe we can let user use config to point to various locations ? Then we just symlink the repos to a central location ?
I like to keep my files (including git repos) in a structured way: eg: Everything related to school goes in folders similar to
Coursework/TERM/CourseCode
. Now, CourseCode may contain a git repository for programming assignments along with other course files (eg: notes)Projects not relevant to school go in a separate Projects folder. Each folder within Projects can be a git repo.
It would be nice to be able to provide multiple paths and the depth to search them recursively for git projects.
So for the above I would like something like
[ { $PROJECTS_PATH, 0 }, { $COUREWORK_PATH, 2 } ]
for paths fk cd to search in.