Adding RPROMPT= fixes it (check the .zshrc below).
.zshrc:
# Source Prezto.
if [[ -s "/nix/store/mvfxc0f2ccpx86w7hb2l3sdazx03qh4q-zsh-prezto-0-unstable-2024-06-03/share/zsh-prezto/init.zsh" ]]; then
source "/nix/store/mvfxc0f2ccpx86w7hb2l3sdazx03qh4q-zsh-prezto-0-unstable-2024-06-03/share/zsh-prezto/init.zsh"
fi
# Setting this to an empty string fixes it
# RPROMPT=
Although, I've fixed the issue, it kinda bothers me I need to manually reset the RPROMPT. I haven't really debugged zsh configurations before, but I am open to suggestions. :)
General information
System report (output of
prompt_pure_system_report
):Other information
I am using kitty as a terminal. More interestingly I am using home-manager.
I have:
Problem description
The path is shown on the right of the prompt, as well as on the left (check the attached screenshot).
Although, nothing is set for
RPROMPT
the path is shown on the right:Reproduction steps
Adding
RPROMPT=
fixes it (check the.zshrc
below)..zshrc
:.zpreztorc
Although, I've fixed the issue, it kinda bothers me I need to manually reset the
RPROMPT
. I haven't really debugged zsh configurations before, but I am open to suggestions. :)