From 56747b405651e78e6f44838ae59b4fe771680b8c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 8 May 2015 12:12:59 +0100 Subject: simplification of make --- make | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/make b/make index 27ecca6..9e545ad 100755 --- a/make +++ b/make @@ -3,16 +3,12 @@ dir=~/dotfiles olddir=~/dotfiles_old -# Files to sync -files="vim vimrc mutt passwords vifm msmtprc bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc offlineimap.py inputrc latexmkrc crontab gitconfig git_template tmuxlinerc" - rm -rf $olddir mkdir -p $olddir cd $dir -chmod 600 msmtprc -for file in $files; do - echo $file +for file in `ls --ignore="make" --ignore="tex"`; do + echo "Symlinking $file" mv ~/.$file $olddir ln -s $dir/$file ~/.$file done -- cgit v1.2.3