-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·40 lines (34 loc) · 1.15 KB
/
install.sh
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
#!/bin/sh
programs=(i3 compton bash vim livestreamer mutt conky dunst Xresources Xmodmap)
programs_root=(lxdm)
for t in "${programs[@]}"
do
while true; do
read -p "Do you wish to install $t config? " yn
case $yn in
[Yy]* ) stow -v $t;break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no";;
esac
done
done
#for t in "${programs_root[@]}"
#do
# while true; do
# read -p "Do you whish to install $t config as root? " yn
# case $yn in
# [Yy]* ) sudo stow -t / -v $t;break;;
# [Nn]* ) break;;
# * ) echo "Please answer yes or no";;
# esac
# done
#done
read -p "Do you wish to install vim-YouCompleteMe?" yn
case $yn in
[Yy]* ) cd vim/.vim/bundle && git clone https://github.com/Valloric/YouCompleteMe && cd YouCompleteMe && git submodule update --init --recursive && ./install.sh --omnisharp-completer --clang-completer; cd ../../../../
esac
read -p "Do you wish to install vim-MultipleCursors?" yn
case $yn in
[Yy]* ) git clone https://github.com/terryma/vim-multiple-cursors vim/.vim/bundle/vim-multiple-cursors
esac
echo "Done :)"