-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_mac.sh
executable file
·82 lines (62 loc) · 1.91 KB
/
setup_mac.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
73
74
75
76
77
78
79
80
81
82
#! /bin/zsh
# ==============================
# change default shell to zsh
# ==============================
chsh -s /bin/zsh
# ==============================
# install command line tools
# ==============================
# install homebrew
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/toyama/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install tmux
brew install gh
brew install gotop
brew install eza
brew install bat
brew install fzf
$(brew --prefix)/opt/fzf/install
curl -sS https://starship.rs/install.sh | sh
brew install tldr
# install zprezto
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
brew install neofetch
# ==============================
# install GUI apps
# ==============================
brew install zoom
brew install docker
brew install google-chrome
brew install visual-studio-code
brew install slack
brew install google-japanese-ime
brew install notion
brew install raycast
brew install spotify
brew tap wez/wezterm
brew install --cask wez/wezterm/wezterm
# ==============================
# github setting
# ==============================
git config --global user.name "ooyamatakehisa"
git config --global user.email "[email protected]"
git config --global core.editor vim
# ==============================
# create symbolic link
# ==============================
ln -s ~/dotfiles/.vimrc ~/.vimrc
ln -s ~/dotfiles/.vim ~/.vim
ln -s ~/dotfiles/.wezterm.lua ~/.wezterm.lua
ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/.zshrc ~/.zshrc
# ==============================
# ssh setting
# ==============================
mkdir ~/.ssh
mv ./config ~/.ssh