0
点赞
收藏
分享

微信扫一扫

给mobaXterm通过ssh的linux 开发板美化ohmyzsh

小编 2022-04-30 阅读 53

原来的镜像就带ohmyzsh

设置脚本

安装p10k

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

 设置p10k主题

vim ~/.zshrc

 

同时设置好需要的脚本

必须按照这个顺序放在最后

 

echo 'source /etc/oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc

安装需要的脚本:

1.Autosuggestions

sudo git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

2. zsh-syntax-highlighting

sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
sudo git clone https://gitee.com/xs66/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

 

让脚本生效

source ~/.zshrc
举报

相关推荐

0 条评论