Yeah - I do this too. While I have a McCormick bottle with a built-in grinder it takes too long to if you want anything more than half a teaspoon, so I fill my spice grinder and do a half a cupful at a go and then it goes in a Ziplock.
I've had those fancy electric ones with a light on it, but it used 6 batteries and they ran out pretty quickly.