Another solution is to have something metal that is not part of your audio system on your audio rack, maybe the rack itself if it's metal, and rap it with your knuckle before touching your gear. Your knuckle is much less sensitive than your fingertip and the rap spares you that unpleasant little shock to the fingertip.