Zend certified PHP/Magento developer

MacOS Terminal Async Infinite Loop In The Background

Is it possible to launch an infinite loop from .zshenv when a Terminal window starts up and for it not to block the terminal?

Right now, I have an infinite loop that updates the title of the window every second, but it also seems to be executing and blocking the entire thread – I can’t do anything else with the window:

while true; do sleep 1; echo -n -e "33]0;{myDesiredTitle}07"; done

Is there any way to run this code asynchronously?