Skip to content

Commit

Permalink
editing files
Browse files Browse the repository at this point in the history
  • Loading branch information
kimond committed May 6, 2015
1 parent daf8e98 commit 7421104
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7421104

Please sign in to comment.