-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_osx.sh
40 lines (32 loc) · 960 Bytes
/
setup_osx.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
# brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install wget git tig ripgrep jq
brew install awscli
brew install rbenv ruby-build
# cask
brew cask install qlcolorcode qlmarkdown quicklook-json quicklook-csv qlvideo
brew cask install google-chrome google-japanese-ime
brew cask install slack
brew cask install docker
brew cask install iterm2
# dein
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
sh ./installer.sh ~/.cache/dein
rm -f ./installer.sh
# zsh
wget --no-check-certificate http://install.ohmyz.sh -O - | sh
chpass -s /bin/zsh
mv ./.zshrc ~/.zshrc
source ~/.zshrc
DOT_FILES=".gitconfig .gitignore .vim .vimrc"
for file in ${DOT_FILES}
do
ln -s $HOME/dotfiles/$file $HOME
done
cd ~/.vim
git clone https://github.com/ctrlpvim/ctrlp.vim.git bundle/ctrlp.vim
vim
# open vim and install dein
# :call dein#install()