Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Keeping rprompt on same level as prompt for multiline #883

Closed
shibumi opened this issue Jun 27, 2018 · 4 comments
Closed

Keeping rprompt on same level as prompt for multiline #883

shibumi opened this issue Jun 27, 2018 · 4 comments

Comments

@shibumi
Copy link

shibumi commented Jun 27, 2018

Heyho,
Do you have any idea how I can keep this look with having the rprompt on the same level like the prompt with user, host and directory?

https://paste.xinu.at/W1dx9/

POWERLEVEL9K_MODE='nerdfont-complete'
#POWERLEVEL9K_MODE='awesome-fontconfig'
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
POWERLEVEL9K_CONTEXT_TEMPLATE="%#"
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND='black'
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND='green'
POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND='black'
POWERLEVEL9K_CONTEXT_ROOT_BACKGROUND='red'
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs history time detect_virt)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(user host dir dir_writable vcs virtualenv newline context)
POWERLEVEL9K_USER_DEFAULT_FOREGROUND='black'
POWERLEVEL9K_USER_DEFAULT_BACKGROUND='green'
POWERLEVEL9K_USER_ICON=''
POWERLEVEL9K_USER_ROOT_FOREGROUND='black'
POWERLEVEL9K_USER_ROOT_BACKGROUND='red'
POWERLEVEL9K_ROOT_ICON=''
POWERLEVEL9K_HOST_LOCAL_FOREGROUND='black'
POWERLEVEL9K_HOST_LOCAL_BACKGROUND='green'
POWERLEVEL9K_HOST_ICON=''
POWERLEVEL9K_HOST_REMOTE_FOREGROUND='black'
POWERLEVEL9K_HOST_REMOTE_BACKGROUND='red'
POWERLEVEL9K_SSH_ICON=''
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND='black'
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND='red'
POWERLEVEL9K_LOCK_ICON=$'\uF023'
POWERLEVEL9K_SHOW_CHANGESET=true
source  /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme
@shibumi
Copy link
Author

shibumi commented Jun 27, 2018

I guess I have to remove the newline segment from the left prompt and need to use the PROMPT_ON_NEWLINE command.. but then I need to overwrite the custom new line prompt. Is it possible to specify a segment there?

What I have been thinking about is:

POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=<CONTEXT SEGMENT>

@bhilburn
Copy link
Member

bhilburn commented Oct 8, 2018

@shibumi - Trying to make sure we understand what you're describing. Is this like #865, by chance?

@bhilburn
Copy link
Member

bhilburn commented Oct 8, 2018

Or #843?

@bhilburn
Copy link
Member

bhilburn commented Jan 3, 2019

Closing this one out due to inactivity, and I think we've got it covered in other issues / PRs. Feel free to re-open if that's not the case!

@bhilburn bhilburn closed this as completed Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants