If I use find-file with a TRAMP method to navigate to a remote file in a docker or kubernetes container I'm provided with auto-completion:

C-x C-f /docker:frosty_cori:/home

In the example above, if I press at any point after and including '/' auto-completion helps me find docker containers running on my system.

I can access remote files using TRAMP in the same way by providing the path in eshell:

$ cd /docker:frosty_cori:/home

Unfortunately, in eshell I'm not provided with auto-completion for for neither the TRAMP method nor the containers. This would be especially useful for kubernetes pods with their long-form names.

Is there any way I can get eshell to provide TRAMP auto-completion?

1 Answer 1


Eshell does not support it (yet). I find the idea neat, so I have written a feature request, see bug#65356. This request contains also a patch for eshell which adds this feature, you might try it yourself.

  • 1
    FTR, this feature is implemented now in Emacs 30. Commented Aug 20, 2023 at 9:20
  • Thank you, Michael! Commented Aug 21, 2023 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.