Created
December 8, 2011 18:03
-
-
Save sigma/1447857 to your computer and use it in GitHub Desktop.
.local.hashes
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
#!/usr/bin/zsh | |
# I organize my projects by vcs / project | |
# e.g. Projects/git/magit or Projects/hg/marmalade | |
# every project gets its named directory: ~magit or ~marmalade | |
for proj in ~/Projects/*/*(-/); do | |
hash -d ${proj##*/}=${proj}; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment