zsh配置
--个人感觉非常好用
# 更新系统
sudo apt update
sudo apt upgrade
# 安装必要软件
sudo apt install net-tools openssh-server openssh-client git zsh vim terminator tmux curl gcc g++ make cmake
# 切换默认 shell 为 zsh
sudo chsh -s /bin/zsh
# 安装 Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# 安装 zsh-autosuggestions 插件
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
# 修改 ~/.zshrc 文件,将 plugins 行改为
plugins=(git zsh-autosuggestions)