关于linux:Linux-安装-oh-my-zsh并开启常见插件

装置 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
)

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理