-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_mac.sh
62 lines (52 loc) · 1.41 KB
/
install_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
#!/bin/bash
set -u
SCRIPT_DIR=$(cd $(dirname $0); pwd)
# deploy
for f in .??*
do
[[ "$f" == ".git" ]] && continue
[[ "$f" == ".gitignore" ]] && continue
[[ "$f" == ".gitmodules" ]] && continue
[[ "$f" == ".DS_Store" ]] && continue
ln -s $SCRIPT_DIR/$f $HOME/$f
done
# zsh
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
touch $HOME/.zshrc.local
# tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# cargo
curl https://sh.rustup.rs -sSf | sh
~/.cargo/bin/cargo install --locked \
zoxide \
fd-find \
starship \
du-dust \
bat \
eza \
git-delta \
pueue \
bandwhich \
lolcat \
dua-cli \
ripgrep \
ouch \
yazi-fm \
yazi-cli \
htop
# Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install \
ag \
aspell \
cmigemo \
figlet \
lolcat \
pbcopy \
tree \
tmux
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# zsh-auto completion
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions