summaryrefslogtreecommitdiff
path: root/setup.sh
blob: baa4d55ceedd8017d76c0efdf3438149cd80981d (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
#!/bin/zsh -x

SPECIAL=(.clamz      \
         .config     \
         .newsbeuter \
         .moc        \
         .mozilla    \
         .ncftp      \
         .urxvt      \
         .vim
        )

for i in $SPECIAL; do
  rm $HOME/$i
  mkdir -p $HOME/$i
done

for i in $(ls -1 | grep -v -P "(setup.sh|additional.files)"); do
  stow -t $HOME $i
done

git submodule foreach git submodule init
git submodule foreach git submodule update

cd $HOME/.urxvt; ln -s urxvt-perls/clipboard .; ln -s urxvt-perls/keyboard-select .; ln -s urxvt-tabbedex/tabbedex .; ln -s urxvt-perls/url-select .