6

Besides opening remote files, tramp can be used to run a remote shell. Unfortunately, there is a problem. On a local machine i have zsh and on remote server only bash is installed. Issuing M-x shell results in exec: 24: /bin/zsh: not found message.

Can I somehow tweak tramp to run bash?

1 Answers1

3

Try M-x set-variable RET explicit-shell-file-name RET "/bin/bash"RET - that should make M-x shell use bash from now on. Not sure if there's an easy way to switch depending on which machine you're on...

legoscia
  • 2,667