To just pull the hammer back enough to keep it off the valve stem and do your first pump. You should then be able to pump the rest without actually cocking the gun.
It's a band aid and I am not sure what the underlying issue might be, though.
Hope this helps
All those who believe in psychokinesis, raise my hand.
Good judgment comes from experience; experience usually comes from bad judgment.