发布于:2023-7-2最后更新:2023-7-21字数 00 分钟

type
status
date
slug
summary
tags
category
icon
password
 
整容前:
notion image
整容后:
notion image
本篇以 Linux 服务器为例
  1. 安装 Oh My Zsh
    1. 执行: sh -c "$(curl -fsSL <https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh>)"
    2. 安装完之后是这样
      1. notion image
安装插件的方式有很多,这里使用了Zplug
  1. 安装ZPlug然后 source .zshrc,会提示安装插件,如果没有可以手动执行zplug install 然后根据终端提示配置p10k.
    1. 执行 curl -sL --proto-redir -all,https <https://raw.githubusercontent.com/zplug/installer/master/installer.zsh> | zsh
    2. 安装完之后编辑 .zshrc 文件. vi ~/.zshrc 首先导入zplug: source ~/.zplug/init.zsh
    3. 主题有很多,这里我们使用P10Kp10k 要求 zsh 最低版本 5.1, 具体办法自己搜,需要注意卸载老版本的zsh之后安装新的之前可能会导致密码登录服务器报错
      zshrc文件里加入:
      notion image
      配置完就可以了
  1. Mac 端安装方法类似,更简单, Mac 推荐使用 Iterm2代替终端 令分享一些插件:

Flutter MobX 使用 Flutter MobX 使用
Chrome 插件介绍 Chrome 插件介绍
公告