-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·34 lines (27 loc) · 1.1 KB
/
setup.sh
File metadata and controls
executable file
·34 lines (27 loc) · 1.1 KB
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
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install -s gcc cmake
brew install -s glew glfw python3 geckodriver imagemagick node phantomjs
brew install -s opencv3 --c++11 --with-opengl --with-python3
brew install -s neovim
# install tex
brew cask install basictex
tlmgr update --self --all
tlmgr paper a4
tlmgr install collection-langjapanese
rm -rf $(brew --cache)
mkdir "${HOME%/}.config"
mkdir "${HOME%/}.config/nvim"
mkdir "${HOME%/}.config/nyaovim"
pip3 install neovim
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
mkdir ~/.config/nvim/dein
sh installer.sh ~/.config/nvim/dein/
npm install -g nyaovim
ln -s /usr/local/bin/nyaovim /usr/local/bin/gn
ln -s "${HOME%/}/dotfiles/nyaovimrc.html" "${HOME%/}/.config/nyaovim"
ln -s "${HOME%/}/dotfiles/init.vim" "${HOME%/}/.config/nvim"
ln -s "${HOME%/}/dotfiles/.xvimrc" $HOME
ln -s "${HOME%/}/dotfiles/.bashrc" $HOME
ln -s "${HOME%/}/dotfiles/.zshrc" $HOME
ln -s "${HOME%/}/dotfiles/.bash_profile" $HOME
ln -s "${HOME%/}/program/exec/lssize.py" /usr/local/bin