defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock

About the Author

I help build WordPress, BuddyPress, bbPress, EDD, Sugar Calendar, and a bunch of other super neat stuff.