Some code don't work with ZSH so I put a guard to take care of that case