From 54be9a471091bdc8e7770d85623895c83e3f3153 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 9 Oct 2014 14:14:48 +0100 Subject: Initial commit --- install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..acc6395 --- /dev/null +++ b/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +dir=~/dotfiles # dotfiles directory +olddir=~/dotfiles_old # old dotfiles backup directory +files="bashrc vimrc vim zshrc oh-my-zsh" # list of files/folders to symlink in homedir + +mkdir -p $olddir +cd $dir +for file in $files; do + echo $file + mv ~/.$file ~/dotfiles_old/ + ln -s $dir/.$file ~ +done -- cgit v1.2.3