Replies: 1 comment
-
@minhincs not currently. You could hack it via set color: zstyle :prompt:pure:path color '}%B%F{red' But without a way to terminate that To cover your bases you'd do: zstyle :prompt:pure:git:branch color '}%b%F{242'
zstyle :prompt:pure:git:branch:cached color '}%b%F{red'
# same for execution time, maybe others
# prompt, either like this or via color
PROMPT="%b${PROMPT}" Something we could do is to either allow options like: zstyle :prompt:pure:path bold yes
zstyle :prompt:pure:path underline yes Or perhaps a more general approach like: zstyle :prompt:pure:path prefix '%B'
zstyle :prompt:pure:path suffix '%b' Or a third/fourth option: zstyle :prompt:pure:path transform my_prompt_pure_path_transformer
my_prompt_pure_transformer() {
# tbd, modify and set return value
} zstyle :prompt:pure parts_transformer my_prompt_pure_parts_transformer
my_prompt_pure_transformer() {
# tbd, if part == path, modify and set return value
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want my path to be blue and in bold font, I can achieve that in starship but in pure, I still hve no idea. Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions