support for older zsh, SunOS berkeley systems