powerlevel9k icon indicating copy to clipboard operation
powerlevel9k copied to clipboard

iTerm2 shell integration mark as prompt segment

Open dimitrisfasoulas opened this issue 6 years ago • 2 comments
trafficstars

It would be nice to have iterm2 integration mark as a prompt segment.

Right now on a 2 line setup it looks like this image (its the small blue triangle between the prompts)

I would like to be able to add it after the newline of the left prompt.

so something like POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir_writable dir newline *iterm_mark* vcs)

Or any other solution that would look nicer for 2 line prompts

dimitrisfasoulas avatar Apr 30 '19 07:04 dimitrisfasoulas

Hey @dimitrisfasoulas, do you use POWERLEVEL9K_PROMPT_ADD_NEWLINE? If this is the case, I think the position will be adjusted a little bit with the next release (currently on next branch). It should be on the first line then. I currently don't have a way to test this. Basically, these two blocks will be swaped. Will this solve your problem?

Syphdias avatar Apr 30 '19 23:04 Syphdias

Yes it will, (sorry for the l8 reply)

dimitrisfasoulas avatar Jul 05 '19 14:07 dimitrisfasoulas