News for hackers. Stuff that matters.
Re:Ask HN: how do you manage command line snippets? by joelvh on Tuesday April 16, 2013 @04:15PM (#5560595)
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.