aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
committerMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
commite6a2618400edcddc2a80ef2776871ca01992be03 (patch)
tree72f9572bd8037f8d40abf070fc13c52fec9b5521 /README.md
parent9ec86efc56ecdbcaf6ee0626f928c16c266cda2c (diff)
big refactor to use XDG base dir spec
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 11 insertions, 18 deletions
diff --git a/README.md b/README.md
index 75f3172..3eef288 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,16 @@
-You're going to want to make changes, so before you do anything, fork this repo
-and make it your own.
-
-Clone it somewhere on your local machine:
-
- $ git clone git://github.com/xcolour/dotfiles.git ~/.dotfiles
-
-Then run the deploy script:
+Install dotfiles with the deploy script:
$ sh deploy.sh
-This script does the following:
+Tries to follow the [XDG base directory
+spec](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
+as much as possible.
+
+The script does the following:
- Clear out `$PWD/dotfiles-backup/`.
- - Back up any existing dotfiles to `$PWD/dotfiles-backup/`.
- - Replace existing dotfiles with symlinks to the corresponding file in the
- repo.
+ - Symlink everything under `config` into `$XDG_CONFIG_HOME`. Moves everything
+ that already exists to `$PWD/dotfiles-backup/` first.
+ - Symlink `vimrc` and `zshrc` into `$HOME`. Again back up existing files to
+ `$PWD/dotfiles-backup`.
- Clone Vundle into `~/.vim/bundle/vundle/` and run `BundleInstall`.
- will back up any existing dotfiles to `$PWD/dotfiles-backup/`
- - Create `~/.zshrc-local` (if one doesn't already exist) for setting up local
- behavior. Take a look inside for ideas.
-
-The prompt will highligh the local host name in red unless `ZSH_LOCAL_ENV=true`
-is set. That's a good one for `~/.zshrc-local`.
+ - Create `~/.zshrc-local` if one doesn't already exist.