aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Smith <tim.dolores@gmail.com>2018-06-15 06:41:13 +0300
committerTim Smith <tim.dolores@gmail.com>2018-06-15 09:42:48 +0300
commit3989834bfef217115dc2ceb20cfbd6f3ac717756 (patch)
treefcdd40fda6ad718cfd57ffaf1cab0ae61b75a394 /test
parent0e3c1924fe40835dfe189227b8a165de147e65a1 (diff)
Hide one-space indent at right margin
ZSH displays the right prompt indented one space from the right margin. This can be tweaked with ZLE_RPROMPT_INDENT=0, but that makes display problems very likely and I don't recommend it. But all is not lost. The %E prompt format does continue the current background color through that last indent space. So it can *look* like our prompt goes right up to the margin, if: 1) We remove the trailing space from the last segment, and 2) We add %E before clearing the background color
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions