From 7421104dedb2a978c324fd3a52ee003ae61e5ae3 Mon Sep 17 00:00:00 2001 From: Kim Desrosiers Date: Tue, 5 May 2015 21:20:02 -0400 Subject: [PATCH] editing files --- README.md | 2 +- bootstrap.sh | 11 ++++++----- .gitconfig => gitconfig | 0 .tmux.conf => tmux.conf | 0 .zshrc => zshrc | 0 5 files changed, 7 insertions(+), 6 deletions(-) rename .gitconfig => gitconfig (100%) rename .tmux.conf => tmux.conf (100%) rename .zshrc => zshrc (100%) diff --git a/README.md b/README.md index 410d564..72dd621 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is my dotfiles repository. Installation ------------ -Place you in your home directory. +Go in your home directory. ``` git clone https://github.com/kimond/dotfiles.git .dotfiles cd .dotfiles diff --git a/bootstrap.sh b/bootstrap.sh index 4e16550..7329a1a 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -6,9 +6,9 @@ olddir=~/.dotfiles_old # old dotfiles backup directory # Files list files=" - .zshrc - .gitconfig - .tmux.conf + zshrc + gitconfig + tmux.conf " # create dotfiles_old in homedir @@ -25,7 +25,7 @@ echo "...done" echo "Moving any existing dotfiles from ~ to $olddir" for file in $files; do if [ ! -L ~/$file ]; then - mv ~/$file $olddir + mv ~/.$file $olddir fi done @@ -39,7 +39,8 @@ fi echo "Creating symlinks" for file in $files; do echo "Creating symlink to $file in home directory." - ln -sf $dir/$file ~/$file + ln -sf $dir/$file ~/.$file done +echo "Source .zshrc file" zsh ~/.zshrc diff --git a/.gitconfig b/gitconfig similarity index 100% rename from .gitconfig rename to gitconfig diff --git a/.tmux.conf b/tmux.conf similarity index 100% rename from .tmux.conf rename to tmux.conf diff --git a/.zshrc b/zshrc similarity index 100% rename from .zshrc rename to zshrc