diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-10 16:35:01 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-10 16:35:01 -0600 |
commit | dd76be0e82d492b14dbc0a8e5dcf2a2f251c043a (patch) | |
tree | dcc2cea60f5ef002cfa3d0a0299caa48ff583ab9 | |
parent | b9e3d4d14316054a306914e710157d3e03b5aa25 (diff) |
improve docs
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | deploy.sh | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -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. @@ -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 |