powerlevel10k icon indicating copy to clipboard operation
powerlevel10k copied to clipboard

How to remove the username and hostname and the space at the end of the shell

Open yayangkasep opened this issue 1 year ago • 2 comments

Screenshot 2024-09-24 221407 How to remove the host and user and eliminate this space? I am using Ubuntu WSL.

yayangkasep avatar Sep 24 '24 15:09 yayangkasep

https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#extra-space-without-background-on-the-right-side-of-right-prompt

z0rc avatar Sep 24 '24 15:09 z0rc

Thanks, Ihor.

You can remove username@host by commenting out context within POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS in ~/.p10k.zsh.

romkatv avatar Sep 24 '24 15:09 romkatv