fix copy on mac zsh