This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·72 lines (63 loc) · 2.19 KB
/
setup.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
#!/bin/sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/shinoshu/dotfiles/master/brew.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/shinoshu/dotfiles/master/mas.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/shinoshu/dotfiles/master/vscode.sh)"
ln -s ~/src/github.com/shinoshu/dotfiles/settings.json ~/Library/Application\ Support/Code/User/settings.json
ln -s ~/src/github.com/shinoshu/dotfiles/starship.toml ~/.config/starship.toml
ln -s ~/src/github.com/shinoshu/dotfiles/.zsh ~/.zsh
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport ~/bin/airport
ln -sf /usr/local/bin/gcc-9 /usr/local/bin/gcc
ln -sf /usr/local/bin/g++-9 /usr/local/bin/g++
curl -L https://raw.githubusercontent.com/docker/cli/master/contrib/completion/zsh/_docker > .zsh/completion/_docker
curl -L https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose > .zsh/completion/_docker-compose
########## dotfiles ##########
git config --grobal ghq.root ~/src
ghq get shinoshu/dotfiles
dotfiles=(
.gitconfig
.gitignore_global
.hyper.js
.tigrc
.tmux.conf
.vimrc
.wakatime.cfg
.zshrc
)
for file in ${dotfiles[@]}
do
ln -s ~/src/github.com/shinoshu/dotfiles/$file $HOME/$file
done
##############################
sudo gem install cocoapods
########## defaults ##########
# すべてのファイル名拡張子を表示
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
##############################
########## manual ##########
# zsh
# sudo cp -p shells shells.org
# echo '/usr/local/bin/zsh' >> /etc/shells
# chsh -s /usr/local/bin/zsh
#
# google-cloud-sdk
# ・https://cloud.google.com/sdk/docs/initializing?hl=ja
# ・https://cloud.google.com/sdk/downloads?hl=ja
#
# curl https://sdk.cloud.google.com | bash
# chmod +x ~/google-cloud-sdk/platform/google_appengine/appcfg.py
# chmod +x ~/google-cloud-sdk/platform/google_appengine/goapp
#
# bash <(curl -s -S -L https://git.io/install-gam)
#
# nodebrew
# nodebrew setup_dirs
#
# npm i -g npm-check-updates
# npm i -g @angular/cli
# npm i -g @google/clasp
# npm i -g @nrwl/cli
# npm i -g textlint
#
# xcode-select --install
##############################