I always end up with a messy projects dir. @paddyforan suggested go's structure which is something like:
$GOPATH/src/github.com/{username}/{repo}
I've gone for:
~/projects/github/{user}/{repo}
use it like this:
c latentflip/hark
This little script
- makes if it doesn't exist ~/projects/github/{username}
- if ~/projects/github/{username}/{repo} exists already, it'll just cd you in.
- if it doesn't exist, it'll clone the repo, and cd you in.
- autocompletion in _c.sh
I would make some small changes to make it bash only: