I've created some command aliases in my bash profile. There are also tools to create shortcuts for git commands. Other than that, I have created shell scripts that I copy to projects, and also some Rake commands.
I haven't spent enough time on some sort of centralization of "snippets" per se, since what I listed above covers the stuff I reuse the most.