装置 zsh
下载
查看所有的 shell
cat /etc/shells
装置 zsh
sudo apt install zsh
把 zsh 设为默认的 shell
chsh -s /bin/zsh
装置 oh my zsh
差劲的形式
应用 gitee 下载 oh my zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git
装置 oh my zsh
bash oh-my-zsh/tools/install.sh
最好的形式
sh -c "$(wget https://gitee.com/Devkings/oh_my_zsh_install/raw/master/install.sh -O -)"
装置插件
zsh-autosuggestions
git clone https://gitee.com/githubClone/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
罕用
alias ll='ls -alF'
plugins=(
git
zsh-autosuggestions
)