fix for zsh delete and prompt problem