summary refs log tree commit diff stats
path: root/README.org
diff options
context:
space:
mode:
authorAlan Pearce2017-04-26 12:28:48 +0200
committerAlan Pearce2017-04-26 12:28:48 +0200
commit5d78e5eb3cb75ce81a98e4d09d873dc1cc61da79 (patch)
treefaee4e103b33a2b7c9814753e4f6a54a9404a4e6 /README.org
parent803c99c5f1205f82e3f2e2ed7eda77a84450184b (diff)
parentdfbb1bb931161ee1fdb8a8fdf14fb5e15c810787 (diff)
downloadnixfiles-5d78e5eb3cb75ce81a98e4d09d873dc1cc61da79.tar.lz
nixfiles-5d78e5eb3cb75ce81a98e4d09d873dc1cc61da79.tar.zst
nixfiles-5d78e5eb3cb75ce81a98e4d09d873dc1cc61da79.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'README.org')
-rw-r--r--README.org24
1 files changed, 21 insertions, 3 deletions
diff --git a/README.org b/README.org
index 7333ed34..2ed06332 100644
--- a/README.org
+++ b/README.org
@@ -7,6 +7,11 @@ It doesn't use any configuration frameworks, just packages installed
 via package managers.  For Z shell I use [[https://zplug.sh/][zplug]] and for Emacs I use the
 built-in package.el via [[https://github.com/jwiegley/use-package][use-package]].
 
+I've included a wrapper script for =stow= which sets the target
+directory to =$HOME=, instead of =../=.  This allows the repository to
+be cloned anywhere, instead of following the =stow= convention of
+being one level below the target directory.
+
 It should work on:
 - Linux
 - OSX
@@ -15,17 +20,30 @@ It should work on:
 
 ** Installation
 
-Installing a set of dotfiles with stow is simple.  For example, with
+Clone the project anywhere, e.g. with =[[https://github.com/motemen/ghq][ghq]]=
+
+#+BEGIN_SRC sh :exports code
+ghq get git://git.alanpearce.eu/dotfiles
+ghq look git.alanpearce.eu/dotfiles
+#+END_SRC
+
+Or just with normal git
+
+#+BEGIN_SRC sh :exports code
+git clone git://git.alanpearce.eu/dotfiles ~/projects/alanpearce-dotfiles
+#+END_SRC
+
+Installing a set of dotfiles with =stow= is simple.  For example, with
 Emacs:
 
 #+BEGIN_SRC sh :exports code
-stow -S emacs
+./stow -S emacs
 #+END_SRC
 
 And then to uninstall
 
 #+BEGIN_SRC sh :exports code
-stow -D emacs
+./stow -D emacs
 #+END_SRC
 
 *** Z Shell