-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
executable file
·26 lines (18 loc) · 746 Bytes
/
init.sh
File metadata and controls
executable file
·26 lines (18 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# sources
sudo sed -i "s/archive.ubuntu.com/mirrors.ustc.edu.cn/g" /etc/apt/sources.list
sudo sed -i "s/security.ubuntu.com/mirrors.ustc.edu.cn/g" /etc/apt/sources.list
sudo apt update -y
# apps
sudo apt install -y vim git fcitx-googlepinyin zsh
# oh my zsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
sed -i 's/^ZSH_THEME.*$/ZSH_THEME=\"dst\"/' ~/.zshrc
# vscode
wget -O vs.deb https://code.visualstudio.com/sha/download\?build\=stable\&os\=linux-deb-x64
sudo dpkg -i vs.deb
# wps
wget -O wps.deb https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/11664/wps-office_11.1.0.11664_amd64.deb
sudo dpkg -i wps.deb
# language zh
sudo apt-get install -y language-pack-zh*
sudo locale-gen