注意事项,:
export https_proxy=http://192.168.110.10:7897 http_proxy=http://192.168.110.10:7897 all_proxy=socks5://192.168.110.10:7897
export https_proxy= http_proxy= all_proxy=
配置 zsh
sudo apt install zsh -y
配置 oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
配置 zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
配置 zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
配置 .zshrc
vim ~/.zshrc
# 在文件末尾添加以下内容
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
启用 zsh
# 修改默认zsh
chsh -s $(which zsh)
# 启用zsh
source ~/.zshrc
# 查看当前shell
echo $SHELL
# 安装宝塔
wget -O install.sh https://download.bt.cn/install/install_lts.sh && sudo bash install.sh ed8484bec
# 运行bt修改你的信息
bt