zsh compatibility

needs square bracket escaping