From df4ba32b896850a49d949801054829773761dd1a Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 24 Feb 2021 10:18:40 -0500 Subject: Add usage info for nspawn-tramp-setup. --- README.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index e15aeb8..0cc3454 100644 --- a/README.org +++ b/README.org @@ -8,12 +8,18 @@ This package is not yet available on the various package sites ** Direct download Download this repository to some location, then add the following to your Emacs initialization: -#+begin_src emacs-lisp +#+begin_src elisp (add-to-list 'load-path "/path/to/nspawn-tramp") (require 'nspawn-tramp) #+end_src * Usage +Call ~nspawn-tramp-setup~ to add support: +#+begin_src elisp + (add-hook 'after-init-hook 'nspawn-tramp-setup) +#+end_src + + Use TRAMP as normal to access files on a container: #+begin_example C-x C-f /nspawn:user@container:/path/to/file -- cgit v1.2.3