Revert right prompt indent to 1
As some terminals will not be not aligned right to the right but buggily will wrap color to new line.
This commit is contained in:
parent
3c28cf23af
commit
593c58cfe0
2
.zshrc
2
.zshrc
@ -306,7 +306,7 @@ prompt_precmd() {
|
|||||||
SPROMPT="Correct %{%F{red}%}%R%{%f%} to %{%F{green}%}%r%f? [%Uy%ues|%Un%uo|%Ua%ubort|%Ue%udit] "
|
SPROMPT="Correct %{%F{red}%}%R%{%f%} to %{%F{green}%}%r%f? [%Uy%ues|%Un%uo|%Ua%ubort|%Ue%udit] "
|
||||||
}
|
}
|
||||||
|
|
||||||
ZLE_RPROMPT_INDENT=0
|
ZLE_RPROMPT_INDENT=1
|
||||||
prompt_opts=(cr subst percent)
|
prompt_opts=(cr subst percent)
|
||||||
|
|
||||||
add-zsh-hook precmd prompt_precmd
|
add-zsh-hook precmd prompt_precmd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user