-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
77 lines (53 loc) · 1.13 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
73
74
75
76
#!/bin/bash
set -e # exit immediately if a pipeline, a list, or a compound command returns a non-zero status
set -u # treat unset variables and parameters as an error
set -o pipefail
# update
sudo apt-get update
# wget git
sudo apt-get install wget git
# tmux
sudo apt-get install tmux
# rime
sudo apt-get install ibus-rime
# ctags
sudo apt-get install exuberant-ctags
# jq
sudo apt-get install jq
# sdcv
sudo apt-get install sdcv
###########
# shell
###########
# zsh
sudo apt-get install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
echo 'config .zshrc by yourself!!'
# autojump antigen
sudo apt-get install autojump zsh-antigen
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
###########
# rust
###########
# rust
curl https://sh.rustup.rs -sSf | sh
# ripgrep
cargo install ripgrep
###########
# nodejs
###########
# nodejs & npm
sudo apt-get install nodejs npm
# tldr
npm install -g tldr
###########
# golang
###########
# pet
go get github.com/knqyf263/pet
# gotty
go get github.com/yudai/gotty
# todolist
go get github.com/gammons/todolist