插件
安装 zsh-syntax-highlighting 及 zsh-autosuggestions。非常实用。
plugins=(git z pip npm golang docker zsh-autosuggestions zsh-syntax-highlighting)
主题
使用 romkatv/powerlevel10k。性能好且好用。
使用 ryanoasis/nerd-fonts 中的 Noto Sans Mono Regular 字体。在网盘中也放了一份(Noto Sans Mono Regular Nerd Font Complete.ttf
)。
p10k 的配置,目前是:
# Generated by Powerlevel10k configuration wizard on 2022-05-31 at 11:43 CST.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 56598.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# angled separators, sharp heads, flat tails, 2 lines, disconnected, no frame, sparse,
# many icons, concise, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config.