Below is the error that appears when I run command each time in iterm2:
__iterm2_precmd:type:50: bad option: -t