What you learned is correct.
However, in everyday conversation or informal chatty writing, people aren't as precise as the grammar books, and it's possible that someone might use the first sentence even if someone else was going to cut their hair. It's the sort of thing that...