diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-05-08 12:12:59 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-05-08 12:12:59 +0100 |
commit | 56747b405651e78e6f44838ae59b4fe771680b8c (patch) | |
tree | f66fe427dc73cbfe52ad30ab7b74d7fca67502cf /make | |
parent | 959a3bde7110b2390d981a710af25c3fdd7dc322 (diff) |
simplification of make
Diffstat (limited to 'make')
-rwxr-xr-x | make | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |