summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-05-08 12:12:59 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-05-08 12:12:59 +0100
commit56747b405651e78e6f44838ae59b4fe771680b8c (patch)
treef66fe427dc73cbfe52ad30ab7b74d7fca67502cf
parent959a3bde7110b2390d981a710af25c3fdd7dc322 (diff)
simplification of make
-rwxr-xr-xmake8
1 files 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