Melleus <mell...@openmailbox.org> writes: > "J. Roeleveld" <jo...@antarean.org> writes: > >> On Monday, September 3, 2018 2:51:11 PM CEST Melleus wrote: >>> Hi all! >>> >>> After emerging new Emacs (v.26) I got TRAMP broken. I do not use it >>> often, so I hit the problem only today. Instead of opening file it >>> complains with the following message (regardless of protocols and >>> local/remote files): >>> >>> "Couldn't find local shell prompt for zsh" >>> >>> I might be possibly doing something wrong, but before the update there >>> were no issues. Reading TRAMP manual brought to me no enlightenment on >>> what's happening either. >>> >>> Thanks ahead. >> >> Is "zsh" installed and working? >> >> -- >> Joost > > Yes, sure. And it is available for Emacs terminal: > > me@myhost ~ % sh > sh-4.4$ zsh > me@myhost ~ % exit > sh-4.4$ exit > exit > me@myhost ~ %
I have found the solution: from now on there should be the following stanza: [ $TERM = "dumb" ] && unsetopt zle && PS1='$ ' put in .zshrc file. (source: https://emacs.stackexchange.com/questions/27410/cant-connect-with-tramp-tramp-file-name-handler-couldn-t-find-local-shell-prom#27418) I do not quite understand why I could not find that in manual. But anyway TRAMP is working now.