- 一键部署
sudo bash -c "cat << EOF > /etc/apt/sources.list && apt update
deb [arch=amd64] https://source.qzrobot.top/mirror/mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb [arch=amd64] https://source.qzrobot.top/mirror/mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb [arch=amd64] https://source.qzrobot.top/mirror/mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb [arch=amd64] https://source.qzrobot.top/mirror/mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb [arch=amd64] https://source.qzrobot.top/mirror/mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
deb [arch=amd64 trusted=yes] https://source.qzrobot.top/mirror/packages.microsoft.com/repos/code stable main
deb [arch=amd64 trusted=yes] https://source.qzrobot.top/mirror/dl.google.com/linux/chrome/deb stable main
EOF" && \
sudo apt update && sudo apt upgrade -y &&\
sudo apt install vim git curl cmake clangd python3-pip ninja-build gcc llvm clang rar zsh vim software-properties-common apt-transport-https wget openvpn gcc-arm-none-eabi fonts-firacode google-chrome-stable code -y && \
code --install-extension shan.code-settings-sync && sudo apt autoremove -y && \
sudo pip install --upgrade pros-cli -i https://mirrors.aliyun.com/pypi/simple/ && \
sudo snap remove firefox && \
cd ~ && \
sh -c "$(curl -fsSL https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"
-
给vscode装插件
-
设置git名字和email
- 输入你的名字:
git config --global user.name "xxx"比如"dog" "cat" - 输入你的Email:
git config --global user.email "xxxx@qq.com"比如"1234@qq.com"
- 输入你的名字:
-
然后去完成免密登陆
oh-my-zsh更改主题vim .zshrc修改主题,我用ZSH_THEME="agnoster"有很多插件和主题可以装,自己百度- 使其生效
source .zshrc - 这个属于个性化修改,不需要都一样,自己百度.vim也可以装很多插件变成IDE
- TIM 微信等安装
sudo wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
