Use a compound command to compare strings (zsh fix)