Skip to content

Some themes use non-existing %p prompt escape #8022

Closed
@barlik

Description

I've customized a theme I use for zsh and I've noticed that the original one is using %p prompt escape. That escape options is not documented and it doesn't appear in the latest (nor historic version) of zsh source code. However, I've counted 13 occurrences of it in themes directory.

oh-my-zsh-master ➤ grep -Rl '%p' themes/                                                                                                                                            git:master
themes/jnrowe.zsh-theme
themes/trapd00r.zsh-theme
themes/fwalch.zsh-theme
themes/cloud.zsh-theme
themes/gozilla.zsh-theme
themes/jtriley.zsh-theme
themes/nanotech.zsh-theme
themes/awesomepanda.zsh-theme
themes/jbergantine.zsh-theme
themes/kafeitu.zsh-theme
themes/edvardm.zsh-theme
themes/arrow.zsh-theme
themes/linuxonly.zsh-theme

Metadata

Assignees

No one assigned

    Labels

    Area: themeIssue or PR related to a themeEnhancementImproved user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions