aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.org8
1 files changed, 7 insertions, 1 deletions
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