aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-02-10 16:35:01 -0600
committerMatt Singleton <matt@xcolour.net>2021-02-10 16:35:01 -0600
commitdd76be0e82d492b14dbc0a8e5dcf2a2f251c043a (patch)
treedcc2cea60f5ef002cfa3d0a0299caa48ff583ab9
parentb9e3d4d14316054a306914e710157d3e03b5aa25 (diff)
improve docs
-rw-r--r--README.md6
-rwxr-xr-xdeploy.sh3
2 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 22c6ff8..0c8d64f 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,9 @@ The script does the following:
* Clear out `$PWD/dotfiles-backup/`.
* 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
+ * Symlink everything under `home` into `$HOME`. Again back up existing files to
`$PWD/dotfiles-backup`.
* Clone Vundle into `~/.vim/bundle/vundle/` and run `BundleInstall`.
- * Create `~/.zshrc-local` if one doesn't already exist.
+ * Copy files under `local` into the appropriate locations only if they don't
+ already exist. These are for handling local configuration that shouldn't or
+ can't be version controlled.
diff --git a/deploy.sh b/deploy.sh
index 17318bd..114dc09 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -2,6 +2,7 @@
set -e
+# clean out old backups
rm -rf dotfiles-backup
mkdir -p dotfiles-backup
@@ -35,6 +36,7 @@ do
done
cd ..
+# install vundle for vim
if [ ! -d ~/.vim/bundle/vundle ]; then
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
cd ~/.vim/bundle/vundle
@@ -44,6 +46,7 @@ fi
vim +BundleInstall +qall
vim +BundleClean +qall
+# create local files
if [ ! -e config/zsh/00-local.zsh ]; then
cp local/local.zsh config/zsh/00-local.zsh
fi