When I run shell from Edwin with macO(zsh) I cannot set the prompt correctly. 
I have the following code that gets round some issues with bracketed paste. 


if [[ $TERM == "emacs" || $TERM == "dumb" ]]
then
  unsetopt zle
  unsetopt prompt_cr
  unsetopt prompt_subst
  if whence -w precmd >/dev/null; then
      unfunction precmd
  fi
  if whence -w preexec >/dev/null; then
      unfunction preexec
  fi
  PS1='$ '
  return
fi

zle_highlight=('paste:none’)


With a plain dumb terminal this is OK but in Edwin I always get:
^[];file://<the name of my local machine><then my home directory>^G 
And then the PS1 prompt.



Reply via email to