I run a 3-person game development studio, so I have a lot of other concerns pulling at me (aside from the programming task at hand, or whatever I need to do on the project iself). It's always easier for me to hit flow when I don't have so much meta stuff to worry about.
I guess the point that I am trying to make is it's so much the technique you start with, but rather what you end up with. Having mini-mental distractions seemed like the norm to me, but forcing myself to keep my mind on a particular task allowed me to go for longer periods without being distracted.
After a while, you really don't need a tool to help you focus, but it's a good starting point.
Another important note: it isn't so much that you avoid distractions as much as you stay in the present moment. Hindsight and foresight may guide your actions, however, you can only act in the present moment.
If you are conscious about being in the zone, while being in the zone, are you still in the zone?
Allowing the distractions to flow past you while you stay focused on the task at hand is what gives the optimal results. Trying to completely numb yourself to distractions won't work a well. That's why there's something in the Pomodoro technique where you make a hash tick and write down what you want to do later; it flushes that thought out of the queue. It also keeps your peripheral awareness opened up so that your right-brain-side can explore alternate avenues and come up with innovative, and occasionally creative solutions. If you stay focused strictly by blocking everything else out, you gain tunnel vision. In that state, a person crushes obstacles by banging his head against it enough times. Otherwise known as Brute Force and leads to Sunk Cost Fallacy.
Physical relaxation is also very important -- so good, supportive posture, deeper and relaxed breathing.
If you want to practice all of this in a deeper way, I recommend http://www.vipassana.com/meditation/mindfulness_in_plain_eng... This concept and the way to enter "flow" is not new. It's pretty ancient. I've used the Pomodoro technique to configure my work environment, but mindfulness is what I practice to optimize my ability to perform.
http://www.pomodorotechnique.com/
Windows (and Mac too) - http://www.focusboosterapp.com/
Mac version - http://pomodoro.ugolandini.com/