-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
executable file
·93 lines (65 loc) · 2.67 KB
/
bootstrap
File metadata and controls
executable file
·93 lines (65 loc) · 2.67 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
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
#!/usr/bin/env bash
set -e
# Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install wget
brew install wget
# Install iTerm2
brew install iterm2
# Install tmux
brew install tmux
# Install node
brew install node
# Install htop
brew install htop
# Install tpm
rm -rf ~/.tmux/plugins/tpm && git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Install coreutils
brew install coreutils
# Install cowsay
brew install cowsay
# Install fortune
brew install fortune
# Install dircolors
git clone https://github.com/seebi/dircolors-solarized ~/.dircolors
# Create backup of .zshrc
cp ~/.zshrc ~/.zshrctmp
# Install zsh
brew install zsh
# Install oh-my-zsh
wget --no-check-certificate https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
RUNZSH=no sh install.sh
rm install.sh
rm ~/.zshrc && mv ~/.zshrctmp ~/.zshrc
mv agnoster_vi.zsh-theme ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes
# Install dracula for zsh
git clone https://github.com/dracula/zsh.git ~/.dracula_zsh
mv ~/.dracula_zsh/* ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes
rm -rf ~/.dracula_zsh
# Install solarized theme
wget --no-check-certificate -O ~/.dircolors/solarized-iterm https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors
# Download powerline font
wget --no-check-certificate -O ~/Library/Fonts/source_code_for_powerline.otf https://github.com/powerline/fonts/raw/master/SourceCodePro/Source%20Code%20Pro%20for%20Powerline.otf
# Install syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Install auto suggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Install emoji cli
brew install jq fzf peco && git clone https://github.com/b4b4r07/emoji-cli ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/emoji-cli
# Install macvim
brew install cmake macvim
# Install coc.nvim
mkdir -p ~/.vim/pack/coc/start
cd ~/.vim/pack/coc/start
curl --fail -L https://github.com/neoclide/coc.nvim/archive/release.tar.gz | tar xzfv -
cd ~
# Install vim-javascript
git clone https://github.com/pangloss/vim-javascript.git ~/.vim/pack/vim-javascript/start/vim-javascript
# Install haskell-vim
git clone https://github.com/neovimhaskell/haskell-vim.git ~/.vim/bundle/haskell-vim
# Install Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Install vim plugins
vim +PluginInstall +qall
# Move files
sudo mkdir -p /usr/local/bin && sudo mv tmux-split /usr/local/bin/tmux-split