Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Bjørn Arild Mæland http://www.chrononaut.net/

1 total

Easy way to zip dirs in zsh

This is just a quick way to zip dirs from zsh, while ignoring unwanted files like .DS_Store and .svn/*.

zipdir() { zip "$@".zip -r "$@" -x "*/.DS_Store" "*/.svn/*" }
1 total