-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
110 lines (69 loc) · 3.5 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/bin/bash
echo '\e[1m\e[94m---===((( \e[97mInstalling "illu.vim" neovim config\e[94m)))===---'
echo '\e[0m'
echo '\e[1m\e[94m--> \e[97m(1) Installing neovim config repository "illu.vim"'
echo '\e[0m'
echo '\e[1m\e[97m [GIT] \e[0m\e[37mPulling github repo "iLLucionist/illu.vim"'
echo '\e[0m'
mkdir ~/.config/nvim;
git clone https://github.com/illucionist/illu.vim ~/.config/nvim/illu.vim
echo '\e[1m\e[97m [LN] \e[0m\e[37mLinking "init.vim"'
echo '\e[0m'
ln -sf ~/.config/nvim/illu.vim/init.vim ~/.config/nvim/init.vim
echo '\e[1m\e[97m [LN] \e[0m\e[37mLinking "coc-settings.json"'
echo '\e[0m'
ln -sf ~/.config/nvim/illu.vim/coc-settings.json ~/.config/nvim/coc-settings.json
echo '\e[1m\e[97m [CURL] \e[0m\e[37mInstalling "vim-plug"'
echo '\e[0m'
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo '\e[1m\e[94m--> \e[97m(2) Installing "fzf"...'
echo '\e[0m'
echo '\e[1m\e[97m [GIT] \e[0m\e[37mPulling github repo "junegunn/fzf.git"'
echo '\e[0m'
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
echo '\e[1m\e[97m [SH] \e[0m\e[37mRunning "~/.fzf/install"'
echo '\e[0m'
~/.fzf/install
echo '\e[1m\e[94m--> \e[97m(3) Installing pre-patched font "meslo"...'
echo '\e[0m'
echo '\e[1m\e[97m [SH] \e[0m\e[37mMaking dir "~/.fonts"'
echo '\e[0m'
mkdir ~/.fonts
echo '\e[1m\e[97m [WGET] \e[0m\e[37mDownloading "Meslo.zip"'
echo '\e[0m'
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Meslo.zip -O ~/meslo.zip
echo '\e[1m\e[97m [UNZIP] \e[0m\e[37mExtracting "Meslo.zip" to "~/.fonts"'
echo '\e[0m'
unzip ~/meslo.zip -d ~/.fonts
rm ~/meslo.zip
echo '\e[1m\e[97m [FC-CACHE] \e[0m\e[37mUpdating font cache (this may take a while)'
echo '\e[0m'
fc-cache -f
echo '\e[1m\e[97m [GCONF] \e[0m\e[37mSetting gnome monospace font to
"MesloLGM NF 11"'
echo '\e[0m'
gsettings set org.gnome.desktop.interface monospace-font-name 'MesloLGM NF 11'
echo '\e[1m\e[94m--> \e[97m(4) Installing "ripgrep"... (sudo: you will be asked for root password)'
echo '\e[0m'
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/11.0.1/ripgrep_11.0.1_amd64.deb; sudo yes | sudo dpkg -i ripgrep_11.0.1_amd64.deb
echo '\e[1m\e[94m--> \e[97m(5) Installing "yarn"... (sudo: you will be asked for root password)\e[0m'
echo '\e[0m'
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -; echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list; sudo apt-get update && sudo yes | sudo apt-get install yarn
echo '\e[1m\e[94m--> \e[97m(6) Installing "npm"... (sudo: you will be asked for root password)'
echo '\e[0m'
sudo curl -sL install-node.now.sh/lts | sudo bash
echo '\e[1m\e[94m--> \e[97m(7) Installing "exuberant-ctags"... (sudo: you will be asked for root password)'
echo '\e[0m'
sudo yes | sudo apt-get install exuberant-ctags
echo '\e[1m\e[94m--> \e[97m(8) Installing ctags for javascript...'
echo '\e[0m'
git clone https://github.com/romainl/ctags-patterns-for-javascript.git ~/ctags-patterns-for-javascript
ln -s ~/ctags-patterns-for-javascript/ctagsrc ~/.ctags
echo '\e[1m\e[94m--> \e[97m(9) Installing latex and latexmk...'
echo '\e[0m'
sudo yes | sudo apt-get install texlive latexmk
echo '\e[1m\e[92m--> [DONE] \e[92m INSTALLATION COMPLETE!'
echo '\e[1m\e[92m \e[97m Restart terminal, run "nvim", and hit
keycombo "\pi"'
echo '\e[1m\e[92m \e[97m Enjoy!'
echo '\e[0m'