aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: bb6d01a05e22a317a87617a5e36d91dc77933bc4 (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
#!/bin/sh

user=duncan
dotfiles=${PWD}

rm -v /home/$user/.vimrc
ln -sfv $dotfiles/vimrc /home/$user/.vimrc

rm -v /home/$user/.vim
ln -sfv $dotfiles/vim /home/$user/.vim

rm -v /home/$user/.xinitrc
ln -sfv $dotfiles/xinitrc /home/$user/.xinitrc

rm -v /home/$user/.Xresources
ln -sfv $dotfiles/Xresources /home/$user/.Xresources

rm -v /home/$user/.mkshrc
ln -sfv $dotfiles/mkshrc /home/$user/.mkshrc

rm -v /home/$user/.mksh.d
ln -sfv $dotfiles/mksh.d /home/$user/.mksh.d

rm -v /home/$user/.profile
ln -sfv $dotfiles/profile /home/$user/.profile

rm -v /home/$user/.inputrc
ln -sfv $dotfiles/inputrc /home/$user/.inputrc

rm -v /home/$user/.gitconfig
ln -sfv $dotfiles/gitconfig /home/$user/.gitconfig

rm -v /home/$user/bin
ln -sfv $dotfiles/bin /home/$user/bin

rm -rfv /home/$user/sv
ln -sfv $dotfiles/sv /home/$user/sv

rm -rfv /home/$user/service
ln -sfv $dotfiles/service /home/$user/service

rm -rfv /home/$user/service.x
ln -sfv $dotfiles/service.x /home/$user/service.x

# install plugins
# vim +PlugInstall +qall