Powerlevel9k: Question: multiline last prompt elements

Created on 20 Jul 2018  Â·  4Comments  Â·  Source: Powerlevel9k/powerlevel9k

When using a multiline prompt, There is POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX and POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX variables to set prefixes.

For the first line, there is the POWERLEVEL9K_LEFT_PROMPT_ELEMENTS variable to set the differents segments.

Why there isn't something like a POWERLEVEL9K_MULTILINE_LAST_PROMPT_ELEMENTS variable to add segments on the last line (context segment for example) ?

question unclear

All 4 comments

This question confuses me, somewhat. So, fundamentally, the entire left prompt and the entire right prompt are actually a single prompt - we have no way of drawing, say, three or four prompts - ZSH does not allow that. We have the ability to split prompts by adding newlines, etc., but we can't add elements to a "top right prompt" and different ones to a "bottom right prompt" - they are all the same prompt.

Can you describe what you mean in a bit more detail? Is this related to #865 or #883?

This question confuses me, somewhat. So, fundamentally, the entire left prompt and the entire right prompt are actually a single prompt - we have no way of drawing, say, three or four prompts - ZSH does not allow that. We have the ability to split prompts by adding newlines, etc., but we can't add elements to a "top right prompt" and different ones to a "bottom right prompt" - they are all the same prompt.

Can you describe what you mean in a bit more detail? Is this related to #865 or #883?

Im speculating here (mostly since im wondering this same thing ..or at least my interpretation of it)

Is it possible to use the predefined segment elements on the second line rather then appending stdout to the last prompt prefix like im doing below?

POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=('os_icon' 'user' 'dir_writable' 'dir')
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=('status' 'command_execution_time' 'vcs' )
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%K{white}%F{black} uname -n %K{black}%F{white}\UE0BC : "

This question confuses me, somewhat. So, fundamentally, the entire left prompt and the entire right prompt are actually a single prompt - we have no way of drawing, say, three or four prompts - ZSH does not allow that. We have the ability to split prompts by adding newlines, etc., but we can't add elements to a "top right prompt" and different ones to a "bottom right prompt" - they are all the same prompt.
Can you describe what you mean in a bit more detail? Is this related to #865 or #883?

Im speculating here (mostly since im wondering this same thing ..or at least my interpretation of it)

Is it possible to use the predefined segment elements on the second line rather then appending stdout to the last prompt prefix like im doing below?

POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=('os_icon' 'user' 'dir_writable' 'dir')
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=('status' 'command_execution_time' 'vcs' )
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%K{white}%F{black} uname -n %K{black}%F{white}\UE0BC : "

Not the original author but this should be very cool

I am on a issue-cleaning spree. This issue hasn't had motion in quite some time, and so I am closing it out due to inactivity. If anyone would like to re-open it because they feel it is un-resolved and is something they care about, please feel free to re-raise the discussion!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iiison picture iiison  Â·  3Comments

OATOMO picture OATOMO  Â·  4Comments

agungsetiawan picture agungsetiawan  Â·  6Comments

guidoilbaldo picture guidoilbaldo  Â·  5Comments

hackerwin7 picture hackerwin7  Â·  4Comments