7

In my local shell, completion-at-point after cd returns a list of directories. However, when I ssh into a remote, Emacs thinks I'm still in my local home directory. How can I configure Emacs to give me remote directory autocompletion?

Matthew Piziak
  • 5,958
  • 3
  • 29
  • 77

1 Answers1

4

Try this

  1. Open a remote directory in dired using tramp.

    C-x d /ssh:username@hostname:/path return

  2. Start a remote shell.

    M-x shell

Melioratus
  • 4,504
  • 1
  • 25
  • 43