Skip to content

feat(shell): default to plain Unicode prompt, opt-in Nerd Font#9

Open
obeone wants to merge 1 commit intomainfrom
feat/p10k-no-nerdfont
Open

feat(shell): default to plain Unicode prompt, opt-in Nerd Font#9
obeone wants to merge 1 commit intomainfrom
feat/p10k-no-nerdfont

Conversation

@obeone
Copy link
Copy Markdown
Owner

@obeone obeone commented Mar 11, 2026

Summary

  • Default prompt now uses plain Unicode characters that work in any terminal without a Nerd Font
  • Users with a Nerd Font can opt in via NETSHOOT_NERDFONT=1 for powerline separators and richer icons
  • Adds configs/p10k-ascii.zsh override file, loaded by default after p10k.zsh

Test plan

  • docker build --target base -t netshoot:test .
  • docker run -it --rm netshoot:test — prompt renders cleanly without Nerd Font
  • docker run -it --rm -e NETSHOOT_NERDFONT=1 netshoot:test — prompt uses powerline/Nerd Font glyphs
  • docker build -f Dockerfile.slim -t netshoot:slim-test . — slim variant builds with new config

The Powerlevel10k prompt now uses plain Unicode characters by default,
which renders correctly in any terminal without requiring a Nerd Font.
Users with a Nerd Font can enable powerline separators and richer icons
by setting NETSHOOT_NERDFONT=1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant