Tmux warpper
Chrome blank page
sudo apt-get update
sudo apt install --reinstall libnss3
/opt/homebrew/bin/brew
sudo apt install git
# 安装 zsh
sudo apt install zsh
# 将 zsh 设置为系统默认 shell
chsh -s $(which zsh)
# 需要logout再login才能生效, ssh连接的话,输exit命令退出当前连接,再连入就ok了
exit
# 安装 oh-my-zsh
wget <https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh> -O - | sh
sh -c "$(wget <https://gitee.com/Devkings/oh_my_zsh_install/raw/master/install.sh> -O -)"
# 安装Vim
sudo apt install vim
# install gdebi
sudo apt install gdebi -y
zsh-autosuggestions:命令行命令键入时的历史命令建议插件
git clone <https://github.com/zsh-users/zsh-autosuggestions> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone <https://gitee.com/han8gui/zsh-autosuggestions.git> ${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
git clone <https://gitee.com/Annihilater/zsh-syntax-highlighting.git> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
插件安装好后需要在 ~/.zshrc 文件里配置后方可使用,配置如下:
# 打开 ~/.zshrc 文件,找到如下这行配置代码,在后面追加插件名
plugins=(其他插件名 autojump extract zsh-autosuggestions zsh-syntax-highlighting)
COMPLETION_WAITING_DOTS="true"