-
Notifications
You must be signed in to change notification settings - Fork 0
/
install
executable file
·90 lines (89 loc) · 2.84 KB
/
install
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#echo "------------------------------------"
#echo "Intended changes:"
#echo "copy .vimrc"
#echo "copy .bashrc"
#echo "Change color template for shell and vim [Remember to save terminal profile first]"
#echo "copy .vim/"
#echo "------------------------------------"
#
##############################################################
## Import vimrc, plugins etc
#
#while true; do
# read -p "Update plugins etc. from internet?" yn
# case $yn in
# [Yy]* ) git pull;
# rm -f pathogen.vim;
# wget https://tpo.pe/pathogen.vim;
# mv pathogen.vim ./vim_files;
# echo "Completed updating files";
# break;;
# [Nn]* ) echo "ok";break;;
# * ) echo "Please answer yes or no.";;
# esac
#done
#
##############################################################
## import bashrc
#echo "Do you want to install the .bashrc file?"
#read BASHRC_INSTALL
#
#if [ $BASHRC_INSTALL == "y" ]
#then
# cp ./config_files/.bashrc ~/
#fi
##############################################################
#
##############################################################
## Import vimrc, plugins etc
#
#while true; do
# read -p "Copy .vimrc?" yn
# case $yn in
# [Yy]* ) cp ./vim_files/.vimrc ~/;break;;
# [Nn]* ) echo "ok";break;;
# * ) echo "Please answer yes or no.";;
# esac
#done
#
##############################################################
#echo "Copy vim plugins?"
#read VIMRC_INSTALL
#
#if [ $VIMRC_INSTALL == "y" ]
#then
# mkdir -p ~/.vim/autoload ~/.vim/bundle
# cp vim_files/pathogen.vim ~/.vim/autoload/pathogen.vim
# cd ~/.vim/bundle
# git clone https://github.com/ctrlpvim/ctrlp.vim
# git clone https://github.com/vim-syntastic/syntastic
# git clone https://github.com/junegunn/vim-easy-align
# git clone https://github.com/vim-syntastic/syntastic
# git clone https://github.com/ervandew/supertab
# git clone https://github.com/SirVer/ultisnips
# git clone https://github.com/honza/vim-snippets
#fi
##############################################################
##############################################################
##Change color template
#
#echo "Installing pathogen"
#mkdir -p ~/.vim/autoload ~/.vim/bundle && \
#curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
#
#echo "Do you want to change the color palette? (y/n)"
#read CHANGE_COLOR
#
#if [ $CHANGE_COLOR == "y" ]
#then
# echo "Changing color palette..."
# echo "First lets change the palette for the terminal"
# git clone [email protected]:aruhier/gnome-terminal-colors-solarized.git
# sudo apt-get install dconf-cli
# cd gnome-terminal-colors-solarized
# ./install.sh
# echo "Color palette now changed."
# echo "Download solarized colorscheme and put it in the bundle dir"
# git clone [email protected]:altercation/vim-colors-solarized.git
# mv vim-colors-solarized/ ~/.vim/bundle/
#fi