You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'd like to customize the transient prompt a bit. i think the idiomatic way such customization could work for p10k is to specify the segments to capture at the time the command is accepted. p10k already does this somewhat by capturing exit code of the previous command and colors the prompt character red/green.
i'm thinking something like POWERLEVEL9K_TRANSIENT_PROMPT_SEGMENTS would capture the listed segments at the time the command is accepted and format it as left-handed segments for the transient prompt
my specific scenario is that i'd like to capture the time at which the command was run. i put the time in RIGHT_SEGMENTS for the interactive prompt, but would like to see the transient prompt format it on the left.
The text was updated successfully, but these errors were encountered:
my specific scenario is that i'd like to capture the time at which the command was run. i put the time in RIGHT_SEGMENTS for the interactive prompt, but would like to see the transient prompt format it on the left.
There are many examples of transient prompt customization in the issues. You can search for "p10k-on-post-prompt" to see them. Here's one: #2503.
i'd like to customize the transient prompt a bit. i think the idiomatic way such customization could work for p10k is to specify the segments to capture at the time the command is accepted. p10k already does this somewhat by capturing exit code of the previous command and colors the prompt character red/green.
i'm thinking something like
POWERLEVEL9K_TRANSIENT_PROMPT_SEGMENTS
would capture the listed segments at the time the command is accepted and format it as left-handed segments for the transient promptmy specific scenario is that i'd like to capture the time at which the command was run. i put the time in
RIGHT_SEGMENTS
for the interactive prompt, but would like to see the transient prompt format it on the left.The text was updated successfully, but these errors were encountered: