Permalink
Browse files

install-test feedbacks

  • Loading branch information...
1 parent 2453f64 commit 1c991381c38e57326bc49fe9897d30252336c6bf @ronanguilloux committed Mar 29, 2013
Showing with 9 additions and 3 deletions.
  1. +9 −3 install.sh
View
@@ -1,10 +1,16 @@
#!/bin/bash
+
+# move original dotfiles
+mv ~/.bashrc ~/.bashrc-dist
+mv ~/.vim ~/.vim-dist
+mv ~/.gitconfig ~/.gitconfig.local
+
+# create symlinks
+ln -s ~/dotfiles/.bashrc ~/.bashrc
+ln -s ~/dotfiles/.vim ~/.vim
ln -sf ~/dotfiles/.vimrc ~/.vimrc
ln -sf ~/dotfiles/.gitignore_global ~/.gitignore_global
ln -sf ~/dotfiles/.gitconfig ~/.gitconfig
ln -sf ~/dotfiles/.bash_aliases ~/.bash_aliases
-# just move .bashrc, in case it was already modified
-mv ~/.bashrc ~/.bashrc-dist && ln -s ~/dotfiles/.bashrc ~/.bashrc
-mv ~/.vim ~/.vim-dist && ln -s ~/dotfiles/.vim ~/.vim
echo "done."

0 comments on commit 1c99138

Please sign in to comment.