fix(prompt)!: New NerdFont glyphs

Use the new NerdFont glyphs so that the git branch portion of the prompt
displays correctly.
BREAKING CHANGE: Any install using old NerdFonts will display incorrect
glyphs, This should be resolved by updating your NerdFont.
This commit is contained in:
Robert Morrison 2024-02-19 15:00:54 +00:00
parent 2ad568db03
commit 654a2ad327

8
prompt
View File

@ -11,16 +11,16 @@ autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' enable git
## Set icons for Staged and Unstaged Changes ## Set icons for Staged and Unstaged Changes
zstyle ':vcs_info:git*' stagedstr "%{%F{green%}%} %{%f%}" zstyle ':vcs_info:git*' stagedstr "%{%F{green%}%}󰄳 %{%f%}"
zstyle ':vcs_info:git*' unstagedstr "%{%F{red%}%} %{%f%}" zstyle ':vcs_info:git*' unstagedstr "%{%F{red%}%}󰅙 %{%f%}"
## Enable check for changes (CPU-intensive) ## Enable check for changes (CPU-intensive)
## DISABLE THIS ON LOW POWER SYSTEMS ## DISABLE THIS ON LOW POWER SYSTEMS
zstyle ':vcs_info:git*' check-for-changes true zstyle ':vcs_info:git*' check-for-changes true
## Set format for Repo Information ## Set format for Repo Information
zstyle ':vcs_info:git*' formats "-(%{%F{203}%} %{%f%}%s:%{%F{2}%}שׂ %{%f%}%b %u%c)" zstyle ':vcs_info:git*' formats "-(%{%F{203}%} %{%f%}%s:%{%F{2}%} %{%f%}%b %u%c)"
zstyle ':vcs_info:git*' actionformats "-(%{%F{203}%} %{%f%}%s:%{%F{2}%}שׂ %{%f%}%b %u%c)(%a)" zstyle ':vcs_info:git*' actionformats "-(%{%F{203}%} %{%f%}%s:%{%F{2}%} %{%f%}%b %u%c)(%a)"
## do precmd stuff ## do precmd stuff
_vcsinfo() { _vcsinfo() {