-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
31 lines (29 loc) · 1.04 KB
/
config.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
#!/bin/bash
bash $(dirname $0)/environment/install.sh
# 应该先配置apt,因为后面的安装会用到apt
bash $(dirname $0)/apt/install.sh
sudo apt update
sudo apt upgrade -y
# 安装基本的工具
# 安装c/c++环境
sudo apt install -y gcc g++ gdb cmake
# 安装java环境
sudo apt install -y openjdk-17-jdk
# 安装有趣的命令
sudo apt install -y sl cowsay figlet cmatrix neofetch lolcat caca-utils
# 安装docker
sudo apt install -y docker docker-compose
# 安装实用工具
sudo apt install -y net-tools nmap trash-cli tree ssh lrzsz \
silversearcher-ag ripgrep fd-find duf gdu bat ranger ccze
# zsh的安装应该尽可能的早,因为后面的配置可能会修改zsh的配置文件
bash $(dirname $0)/zsh/install.sh
bash $(dirname $0)/ssh/install.sh
bash $(dirname $0)/htop/install.sh
bash $(dirname $0)/git/install.sh
bash $(dirname $0)/fzf/install.sh
bash $(dirname $0)/vim/install.sh
bash $(dirname $0)/hexer/install.sh
bash $(dirname $0)/node/install.sh
bash $(dirname $0)/python/install.sh
bash $(dirname $0)/zoxide/install.sh