modified for ZSH