# Ubuntu-config **Repository Path**: linux-git/ubuntu-config ## Basic Information - **Project Name**: Ubuntu-config - **Description**: Ubuntu 20.04 LTS 配置脚本 - **Primary Language**: Shell - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-01-10 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ubuntu-config #### 介绍 Ubuntu 20.04 LTS 配置脚本 ## 安装zsh ``` sudo apt install zsh ``` ## 修改默认路由(网关) ``` 修改默认网关 ip route add default via 192.168.0.121 删除默认网关 ip route del default ``` ## 安装ohmyzsh ``` sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` ## zsh-autosuggestion 自动补全 安装完zsh后 ``` git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions ``` 打开`.zshrc`添加`zsh-autosuggestions` ``` plugins=(git zsh-autosuggestions) ```