summaryrefslogtreecommitdiff
path: root/make
blob: 1e2a73bc7fccf9b1a4e241b31902b79b8fb87a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash

dir=~/dotfiles
olddir=~/dotfiles_old

# Files to sync
files="vim mutt vifm bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc inputrc latexmkrc crontab gitconfig"

rm -rf $olddir
mkdir -p $olddir

cd $dir
for file in $files; do
    echo $file
    mv ~/.$file $olddir
    ln -s $dir/$file ~/.$file
done

# SSMTP config
echo ssmtp.conf
sudo mv /etc/ssmtp/ssmtp.conf $olddir
sudo ln -s $dir/ssmtp.conf /etc/ssmtp/

# Solarized
cd
rm -rf .solarized
mkdir .solarized
cd .solarized
git clone https://github.com/altercation/mutt-colors-solarized
git clone https://github.com/Anthony25/gnome-terminal-colors-solarized/
git clone https://github.com/seebi/dircolors-solarized

cd
rm -rf .vim/bundle
mkdir .vim/bundle
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +PluginInstall +qall

cd $dir
cd mutt
mkdir temp

# Tmux
cd 
rm -rf .tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

tmux source-file ~/.tmux.conf