aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2021-02-24 10:18:40 -0500
committerBrian Cully <bjc@kublai.com>2021-02-24 10:18:40 -0500
commitdf4ba32b896850a49d949801054829773761dd1a (patch)
treed81e436d88e683d0be36ba1626021d805595d5fe /README.org
parent1c8f42c7bfc44b7afa83ed3b73b190a9ec0ced10 (diff)
downloadtramp-nspawn-df4ba32b896850a49d949801054829773761dd1a.tar.gz
tramp-nspawn-df4ba32b896850a49d949801054829773761dd1a.zip
Add usage info for nspawn-tramp-setup.
Diffstat (limited to 'README.org')
-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