summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorJesse Morgan <morganjm@amazon.com>2012-11-09 10:32:53 -0800
committerJesse Morgan <morganjm@amazon.com>2012-11-09 10:32:53 -0800
commit173eab3c7370f4a35525c5949b8da44fab4ce841 (patch)
treef735d79c7f6df1e1140932fb7ba4798aab92fafb /README.txt
parent5c2d1528b81c4cc6d4018ea0b1d16dd98b14daa1 (diff)
Updated README. Forced hostname to lowercase.
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt31
1 files changed, 26 insertions, 5 deletions
diff --git a/README.txt b/README.txt
index 5b86774..a1baaf5 100644
--- a/README.txt
+++ b/README.txt
@@ -13,16 +13,37 @@ host-overrides/
host (or domain) specific extensions.
bismuth.jesterpm.net/ These files override those in jesterpm.net/
- on bismuth.jesterpm.net in
+ on bismuth.jesterpm.net.
setup.py A script to setup links to the dot files.
setup.py
-------------------------------------------------------------------------------
-The setup scripts makes the following links:
-
- * For every file X in base/, ~/.X is linked to base/X
-If a file already exists, it is deleted unless the --nice flag is given.
+Usage: ./setup.py [--nice] [--pretend] [--home=DIRECTORY]
+
+ --nice No destructive action. setup will not delete anything.
+ --pretend List the symlinks to make, but don't make them.
+ --home Place the links in DIRECTORY instead of $HOME.
+
+The setup script makes links from your home directory to the appropriate files
+in the dotfiles repository. Unless --nice is specified, it will delete any
+file that stands in its way. If it fails to make a link, it will report the
+error and continue.
+
+Suppose your hostname was bismuth.jesterpm.net. The setup script will check
+these directories for files in this order:
+
+ * base/
+ * host-overrides/net
+ * host-overrides/jesterpm.net
+ * host-overrides/bismuth.jesterpm.net
+
+Files found later supersede files found in previous directories, allowing you
+to have specific files for specific hosts or domains. If the script finds a
+directory and that directory contains a file called .nolink, then that
+directory will be created in $HOME instead of linked, and the appropriate
+links will be created inside that directory. This process continues
+recursively.