-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbootstrap
More file actions
executable file
·64 lines (40 loc) · 1.73 KB
/
bootstrap
File metadata and controls
executable file
·64 lines (40 loc) · 1.73 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
#!/bin/sh
sudo softwareupdate --install-rosetta
ln -sf $(pwd)/.tmux.conf $HOME/.tmux.conf
ln -sf $(pwd)/.gitconfig $HOME/.gitconfig
mkdir -p $HOME/.config
ln -sf $(pwd)/karabiner $HOME/.config/karabiner
ln -sf $(pwd)/peco $HOME/.config/peco
ln -sf $(pwd)/.zshrc $HOME/.zshrc
ln -sf $(pwd)/.zshrc.base $HOME/.zshrc.base
ln -sf $(pwd)/.zshrc.peco $HOME/.zshrc.peco
ln -sf $(pwd)/.zshrc.alias $HOME/.zshrc.alias
ln -sf $(pwd)/.zshrc.path $HOME/.zshrc.path
ln -sf $(pwd)/.ideavimrc $HOME/.ideavimrc
ln -sf $(pwd)/Brewfile $HOME/Brewfile
mkdir -p $HOME/.config/git
ln -sf $(pwd)/.gitignore_global $HOME/.config/git/ignore
source $HOME/.zshrc
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
source $HOME/.zshrc
brew bundle
# docker and docker-compose autocomplete
mkdir $HOME/.zsh/completions
ln -s /Applications/Docker.app/Contents/Resources/etc/docker.zsh-completion $HOME/.zsh/completions/_docker
ln -s /Applications/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion $HOME/.zsh/completions/_docker-compose
# local script
ghq get git@github.com:meriy100/local_scripts.git
# vim config
ghq get git@github.com:meriy100/vimrc.git
# iterm material-design
ghq get git@github.com:MartinSeeler/iterm2-material-design.git
ghq get git@github.com:tmux-plugins/tpm
# gcp cli install
curl https://sdk.cloud.google.com | bash
# openjdk.jdk の synlink
sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
# x64 brew install
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
pip3 install imgcat
mkdir -p $HOME/.tmux/plugins
ln -s $HOME/ghq/github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm