fix incorrect ordering of shell integration escapes in zsh shell integration, and generally make things more zsh-idiomatic.