You do not need to pay any attention to your damper if you are changing the travel to be shorter than what it is now, because the damper will just compress to accomodate for the decreased travel. Yes, you can even decrease your 150mm fork all the way down to 100mm and your damper will simply compress to the new travel without any negative effects.
However, if you are extending the travel of your fork, then you need to check to ensure that you are not going above the maximum travel of your specific damper. Below is a list of the common dampers that fit in the Fox 34 Rhythm/Marzocchi Bomber Z1 chassis, along with their maximum travel according to the fork's wheel size:
Maximum Damper Travel (DO NOT EXCEED):
- Fox 34 GRIP2 Damper Maximum Travel : 29" Fork = 140mm / 27.5" = 150mm
- GRIP Damper Maximum Travel : 29" Fork = 140mm or 150mm depending on CSU model (must confirm with Fox) / 27.5" = 160mm
- RAIL Damper Maximum Travel : 29" Fork = 150mm / 27.5" = 150mm